[12] (AIX) 8207744: Clean up inconsistent use of opendir/closedir versus opendir64/closedir64

Brian Burkhalter brian.burkhalter at oracle.com
Thu Jul 26 20:13:02 UTC 2018


https://bugs.openjdk.java.net/browse/JDK-8207744
http://cr.openjdk.java.net/~bpb/8207744/webrev.00/

This change simply adds

#if defined(_AIX)
  #define DIR DIR64
  #define opendir opendir64
  #define closedir closedir64
#endif

to each of

src/java.base/share/native/libjli/wildcard.c src/java.base/unix/native/libjava/ProcessHandleImpl_unix.c src/java.base/unix/native/libjava/TimeZone_md.c

If someone who builds OpenJDK on AIX would try this out that would be great as I can only verify that it does not cause problems on the platforms that we support (currently in progress).

Thanks,

Brian


More information about the core-libs-dev mailing list