Re: Bug

Hardy Falk <[email protected]> Tue, 25 Dec 2012 00:52:16 +0000 (UTC)
Newsgroups gmane.linux.lib.dietlibc
Message-ID <[email protected]>
If _FILE_OFFSET_BITS==64,
struct flock is struct flock64 and fcntl64 is used.
Unfortunately, F_SETLK is not mapped to F_SETLK64 automatically.
In the same vein, struct rlimit cannot return limits for large files.
Does anybody know how to fix this in a portable way?
Thanks.