1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/net/samba3/files/patch-ac
Maxim Sobolev 2b5485c781 Add samba-devel --> ports/net/samba-devel, repocopied from ports/net/samba.
This port represents unstable, development Samba branch.

PR:		24808
Submitted by:	David W. Chapman Jr. <dwcjr@inethouston.net>
2001-02-12 11:02:48 +00:00

21 lines
608 B
Plaintext

--- lib/pidfile.c.orig Fri Feb 2 00:38:09 2001
+++ lib/pidfile.c Fri Feb 2 00:38:26 2001
@@ -39,7 +39,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) {
@@ -80,7 +80,7 @@
pstring pidFile;
pid_t 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) {