This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] fcntl: define F_GETLK, F_SETLK, F_SETLKW to 64-bit versions if __OFF_T_MATCHES_OFF64_T is enabled
- From: Yury Norov <ynorov at caviumnetworks dot com>
- To: <libc-alpha at sourceware dot org>
- Date: Wed, 26 Oct 2016 00:02:43 +0300
- Subject: Re: [PATCH] fcntl: define F_GETLK, F_SETLK, F_SETLKW to 64-bit versions if __OFF_T_MATCHES_OFF64_T is enabled
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Yuri dot Norov at caviumnetworks dot com;
- References: <1476203966-23614-1-git-send-email-ynorov@caviumnetworks.com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
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?