svn commit: r230010 - head/lib/libutil
Guy Helmer
ghelmer at FreeBSD.org
Thu Jan 12 14:13:50 UTC 2012
Author: ghelmer
Date: Thu Jan 12 14:13:49 2012
New Revision: 230010
URL: http://svn.freebsd.org/changeset/base/230010
Log:
pidfile_open() no longer uses fcntl() to set the close-on-exec flag.
Modified:
head/lib/libutil/pidfile.3
Modified: head/lib/libutil/pidfile.3
==============================================================================
--- head/lib/libutil/pidfile.3 Thu Jan 12 11:08:21 2012 (r230009)
+++ head/lib/libutil/pidfile.3 Thu Jan 12 14:13:49 2012 (r230010)
@@ -81,7 +81,7 @@ argument is
file will be used.
The
.Fn pidfile_open
-function sets the FD_CLOEXEC close-on-exec flag on the open file descriptor.
+function sets the O_CLOEXEC close-on-exec flag when opening the pidfile.
.Pp
The
.Fn pidfile_write
@@ -205,7 +205,6 @@ The
function may also fail and set
.Va errno
for any errors specified for the
-.Xr fcntl 2 ,
.Xr fstat 2 ,
.Xr open 2 ,
and
More information about the svn-src-head
mailing list