Re: [RFC][glibc PATCH] fcntl-linux.h: add new definitions and manual updates for open file description locks

2014-04-23 Thread Jeff Layton
On Wed, 23 Apr 2014 15:00:06 -0400 a...@gnu.org (Alfred M. Szmidt) wrote: >> Likewise. You infact write that it does get the lock information >> later in the document wrt. F_OFD_GETLK. > >Sorry, I disagree here...GETLK is really a misnomer, IMO. TESTLK >would have been a better n

Re: [RFC][glibc PATCH] fcntl-linux.h: add new definitions and manual updates for open file description locks

2014-04-23 Thread Michael Kerrisk (man-pages)
On Wed, Apr 23, 2014 at 9:00 PM, Alfred M. Szmidt wrote: >> Likewise. You infact write that it does get the lock information >> later in the document wrt. F_OFD_GETLK. > >Sorry, I disagree here...GETLK is really a misnomer, IMO. TESTLK >would have been a better name. I'm inclined

Re: [RFC][glibc PATCH] fcntl-linux.h: add new definitions and manual updates for open file description locks

2014-04-23 Thread Alfred M. Szmidt
> Likewise. You infact write that it does get the lock information > later in the document wrt. F_OFD_GETLK. Sorry, I disagree here...GETLK is really a misnomer, IMO. TESTLK would have been a better name. GETLK are used is to "get the first lock". It's a way to test whether a

Re: [RFC][glibc PATCH] fcntl-linux.h: add new definitions and manual updates for open file description locks

2014-04-23 Thread Jeff Layton
On Wed, 23 Apr 2014 11:09:51 -0400 a...@gnu.org (Alfred M. Szmidt) wrote: >@@ -2890,7 +2894,7 @@ Get flags associated with the open file. @xref{File > Status Flags}. > Set flags associated with the open file. @xref{File Status Flags}. > > @item F_GETLK >-Get a file lock. @xref

Re: [RFC][glibc PATCH] fcntl-linux.h: add new definitions and manual updates for open file description locks

2014-04-23 Thread Alfred M. Szmidt
@@ -2890,7 +2894,7 @@ Get flags associated with the open file. @xref{File Status Flags}. Set flags associated with the open file. @xref{File Status Flags}. @item F_GETLK -Get a file lock. @xref{File Locks}. +Test a file lock. @xref{File Locks}. F_GETLK does get the (first) l

Re: [RFC][glibc PATCH] fcntl-linux.h: add new definitions and manual updates for open file description locks

2014-04-23 Thread Michael Kerrisk (man-pages)
Hi Jeff, Comments below. On Wed, Apr 23, 2014 at 1:39 PM, Jeff Layton wrote: > (I haven't yet sent the patch to rename these to Linus, but here's a > new draft version of the glibc header/manual updates for open file > description locks. Please speak up if you see any issues or object > to th

[RFC][glibc PATCH] fcntl-linux.h: add new definitions and manual updates for open file description locks

2014-04-23 Thread Jeff Layton
(I haven't yet sent the patch to rename these to Linus, but here's a new draft version of the glibc header/manual updates for open file description locks. Please speak up if you see any issues or object to the new name.) Open file description locks have been merged into the Linux kernel for v3.