This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] hurd: Fix F_*LK* fcntl with __USE_FILE_OFFSET64
- From: Samuel Thibault <samuel dot thibault at gnu dot org>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: libc-alpha at sourceware dot org, bug-hurd at gnu dot org
- Date: Sun, 8 Feb 2015 03:27:41 +0100
- Subject: Re: [PATCH] hurd: Fix F_*LK* fcntl with __USE_FILE_OFFSET64
- Authentication-results: sourceware.org; auth=none
- References: <20150207220716 dot GW3023 at type dot youpi dot perso dot aquilenet dot fr> <20150208022031 dot 4DFF72C3B2F at topped-with-meat dot com>
Roland McGrath, le Sat 07 Feb 2015 18:20:31 -0800, a écrit :
> > +# define F_GETLK 7 /* Get record locking info. */
> > +# define F_SETLK 8 /* Set record locking info (non-blocking). */
> > +# define F_SETLKW 9 /* Set record locking info (blocking). */
> > +#endif
> > +#define F_GETLK64 10 /* Get record locking info. */
> > +#define F_SETLK64 11 /* Set record locking info (non-blocking). */
> > +#define F_SETLKW64 12 /* Set record locking info (blocking). */
>
> Do these values match up with any other system's values?
No: BSD has only 64 variants, and Linux values don't match ours.
Samuel