[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] AIX NFS patches part1
From: |
Chet Ramey |
Subject: |
Re: [PATCH] AIX NFS patches part1 |
Date: |
Thu, 20 Sep 2018 19:03:09 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 9/20/18 6:57 PM, gasha@pie-dabas.net wrote:
>
> Thanks for pointing to old threads.
> I was able to find root cause of this issue, somewhere in LKML.
> And was forced to patch and recompile some more freeware tools, like "tar"
> and "make", used in our development environment.
>
> Sad truth about all that - lack of consistent LARGEFILE support in GNU
> header files and Makefiles/autoconfig/etc...
>
> There is no magic - someone has to write some code between #if and #endif :(
Yes. My answer assumes you're using the `standard' AIX header files, which
should #define opendir as opendir64 if _LARGE_FILES is defined. Similarly
for dirent64/readdir64/closedir64.
If you're using replacement GNU header files, yes, similar code will have
to be in those header files.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/