On Mon, 29 Jan 2024 14:07:49 GMT, Joachim Kern <jk...@openjdk.org> wrote:

>> Similar to [JDK-8318696](https://bugs.openjdk.org/browse/JDK-8318696), we 
>> should use -D_FILE_OFFSET_BITS=64, and not -D_LARGEFILE64_SOURCE in the JDK 
>> native libraries.
>
> 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?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/17538#discussion_r1469646177

Reply via email to