This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]