From 50636e133d9dcc4cb2d04ea2d5a3f1a348e79cb7 Mon Sep 17 00:00:00 2001 From: Guy Helmer Date: Thu, 12 Jan 2012 14:13:49 +0000 Subject: [PATCH] pidfile_open() no longer uses fcntl() to set the close-on-exec flag. --- lib/libutil/pidfile.3 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/libutil/pidfile.3 b/lib/libutil/pidfile.3 index c224a9b6fde..fe5ea18ff9c 100644 --- a/lib/libutil/pidfile.3 +++ b/lib/libutil/pidfile.3 @@ -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