POSIX compatibility change for including wait.h in UNIXProcess_md.c (original) (raw)

Alan Bateman Alan.Bateman at oracle.com
Thu Jan 12 11:33:57 UTC 2012


On 12/01/2012 09:35, Jonathan Lu wrote:

Hi core-libs-dev,

It was found that solaris/native/java/lang/UNIXProcessmd.c includes <wait.h> which does not seem to be compliant with POSIX specification, in which the expected header file name should be <sys/wait.h>. see http://en.wikipedia.org/wiki/CPOSIXlibrary. I also performed a 'grep' for the code base, it seems nowhere else needs to be changed so far. So here is a simple patch to adjust this issue, any suggestions? http://cr.openjdk.java.net/~luchsh/waithPOSIXcomp/ Cheers - Jonathan This looks fine to me.

-Alan



More information about the core-libs-dev mailing list