RFR: 8324539: Do not use LFS64 symbols in JDK libs [v2]
Magnus Ihse Bursie
ihse at openjdk.org
Tue Jan 30 12:52:56 UTC 2024
On Mon, 29 Jan 2024 14:09:06 GMT, Sam James <duke at openjdk.org> wrote:
>> src/java.base/unix/native/libjava/UnixFileSystem_md.c line 64:
>>
>>> 62: #define closedir closedir64
>>> 63: #define stat stat64
>>> 64: #endif
>>
>> same as above
>
> https://www.ibm.com/docs/en/aix/7.1?topic=volumes-writing-programs-that-access-large-files implies _some_ (like `stat`) are redirected by the macro, just not all (e.g. `readdir` isn't), I think?
Indeed; the stat->stat64 conversion is handled; but the opendir etc remaps need to stay.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17538#discussion_r1471155891
More information about the build-dev
mailing list