Hardy Falk
2012-11-22 14:46:59 UTC
Hi,
dietlibc 0.32 defines fcntl to fcntl64 if FILE_OFFSET_BITS==64.
Unfortunately, struct flock is not changed. Calling fcntl(fd,F_SETLK,
&lock) does not work as expected,
I'm checking FILE_OFFSET_BITS and using struct fcntl64 in my code, but
the #ifdef doesn't belong there.
Thanks to all contributors.
dietlibc 0.32 defines fcntl to fcntl64 if FILE_OFFSET_BITS==64.
Unfortunately, struct flock is not changed. Calling fcntl(fd,F_SETLK,
&lock) does not work as expected,
I'm checking FILE_OFFSET_BITS and using struct fcntl64 in my code, but
the #ifdef doesn't belong there.
Thanks to all contributors.