This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix Linux fcntl OFD locks for non-LFS architectures (BZ#20251)
- From: Samuel Thibault <samuel dot thibault at gnu dot org>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 15 Nov 2018 22:27:52 +0100
- Subject: Re: Fix Linux fcntl OFD locks for non-LFS architectures (BZ#20251)
- References: <20181115012457.ssscem7zfceifykq@function> <20181115012939.il77yr2gxkxyswu6@function> <20181115013648.xcxewlolirj35o3d@function> <901f8a33-88d5-73f4-90f4-ea0c1ee9b3a5@linaro.org> <20181115185350.umini454u67gtbco@function>
Just for completeness:
Samuel Thibault, le jeu. 15 nov. 2018 19:53:50 +0100, a ecrit:
> - __USE_LARGEFILE64 is defined, struct flock is kept 32bits, struct
> flock64 is available as 64bit variant which can be used either with
> fcntl() with F_*LK64 variants, or with fcntl64.
But with fcntl64 you still have to use F_*LK64 variants, F_*LK variants
still use the 32bit flock structure, right?
Samuel