Skip to contentSkip to conversation

fixes for lockf.3

DISCUSSION [email protected] 2 participants 2 messages Jul 5, 2012 – Jul 7, 2012 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

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

#2 lore raw

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_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.

Thanks. Fixed for 3.42.

Quoted 2 lines

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.

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