freebsd-ports/japanese/samba/files/patch-ac
Akinori MUSHA 9bdf98646e Update to 2.0.7-ja-1.2a.
PR:		ports/20802
Submitted by:	NAKAJI Hiroyuki <nakaji@jp.freebsd.org>

On PACKAGE_BUILDING, Generate PLIST which removes extras, namely
${PREFIX}/private/smbpasswd.

Found by:	bento
2000-08-29 19:47:14 +00:00

21 lines
606 B
Plaintext

--- 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) {