fixes for lockf.3
In lockf(3), the description of EDEADLK says that it can occur with the T_LOCK operation. That should be F_LOCK. The presence of the T makes it look like maybe F_TLOCK was intended, but that would be wrong. Only the blocking F_LOCK operation can cause EDEADLK.
Also, I was looking through Changes.old for the last few versions, and noticed that fcntl.h was misspelled fntl.h a couple of times.
Signature · 5 lines
Alan Curry -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 20120705005009.23975.qmail-ptgZXYu0fikgsBAKwltoeQ@public.gmane.org
Alan,
Quoted 4 lines · On Thu, Jul 5, 2012 at 2:50 AM, <[email protected]…
In lockf(3), the description of EDEADLK says that it can occur with the
T_LOCKoperation. That should beF_LOCK. The presence of the T makes it look like maybeF_TLOCKwas intended, but that would be wrong. Only the blockingF_LOCKoperation can cause EDEADLK.
Thanks. Fixed for 3.42.
Quoted 2 lines
Also, I was looking through Changes.old for the last few versions, and noticed that
fcntl.hwas misspelledfntl.ha couple of times.
Also fixed now.
Cheers,
Michael
Signature · 7 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface"; http://man7.org/tlpi/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html