diff options
Diffstat (limited to 'net/samba-devel/files/patch-ac')
-rw-r--r-- | net/samba-devel/files/patch-ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/samba-devel/files/patch-ac b/net/samba-devel/files/patch-ac index 0527cb5a32f8..8fbd726ae435 100644 --- a/net/samba-devel/files/patch-ac +++ b/net/samba-devel/files/patch-ac @@ -1,5 +1,5 @@ ---- lib/pidfile.c.orig Fri Feb 2 00:38:09 2001 -+++ lib/pidfile.c Fri Feb 2 00:38:26 2001 +--- lib/pidfile.c.orig Sat Oct 13 22:09:24 2001 ++++ lib/pidfile.c Tue Oct 16 17:17:51 2001 @@ -39,7 +39,7 @@ unsigned ret; pstring pidFile; @@ -7,7 +7,7 @@ - slprintf(pidFile, sizeof(pidFile)-1, "%s/%s.pid", lp_lockdir(), name); + slprintf(pidFile, sizeof(pidFile)-1, "%s/%s.pid", lp_piddir(), name); - fd = sys_open(pidFile, O_NONBLOCK | O_RDWR, 0644); + fd = sys_open(pidFile, O_NONBLOCK | O_RDONLY, 0644); if (fd == -1) { @@ -80,7 +80,7 @@ pstring pidFile; |