summaryrefslogtreecommitdiff
path: root/net/samba-devel/files/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba-devel/files/patch-ac')
-rw-r--r--net/samba-devel/files/patch-ac20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/samba-devel/files/patch-ac b/net/samba-devel/files/patch-ac
new file mode 100644
index 000000000000..dd53b8418c1e
--- /dev/null
+++ b/net/samba-devel/files/patch-ac
@@ -0,0 +1,20 @@
+--- lib/pidfile.c.orig Fri Jan 15 22:40:47 1999
++++ lib/pidfile.c Fri Jan 15 22:41:05 1999
+@@ -37,7 +37,7 @@
+ unsigned ret;
+ pstring pidFile;
+
+- 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);
+ if (fd == -1) {
+@@ -78,7 +78,7 @@
+ pstring pidFile;
+ int pid;
+
+- slprintf(pidFile, sizeof(pidFile)-1, "%s/%s.pid", lp_lockdir(), name);
++ slprintf(pidFile, sizeof(pidFile)-1, "%s/%s.pid", lp_piddir(), name);
+
+ pid = pidfile_pid(name);
+ if (pid != 0) {