[PATCH] fcntl: define F_GETLK, F_SETLK, F_SETLKW to 64-bit versions if __OFF_T_MATCHES_OFF64_T is enabled

Yury Norov ynorov@caviumnetworks.com
Tue Oct 25 21:03:00 GMT 2016


On Tue, Oct 11, 2016 at 07:39:26PM +0300, Yury Norov wrote:
> If __OFF_T_MATCHES_OFF64_T is enabled, the behavior of sys_fcntl should
> be the same as if __USE_FILE_OFFSET64 is enabled. This patch adds
> required definitions.
> 
> Tested with aarch64/lp64 and aarch64/ilp32
> 
> 	* sysdeps/unix/sysv/linux/bits/fcntl-linux.h: define F_GETLK,
> 	  F_SETLK, F_SETLKW to 64-bit versions depending on
> 	  __OFF_T_MATCHES_OFF64_T
> 
> Signed-off-by: Yury Norov <ynorov@caviumnetworks.com>
> ---

Ping?



More information about the Libc-alpha mailing list