1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/net/netatalk-asun/files/patch-ah
Stefan Bethke d4d8650a5d pid files where put in the wrong place.
PR: ports/9169
1998-12-29 00:40:37 +00:00

34 lines
1.0 KiB
Plaintext

--- include/atalk/paths.h.orig Fri Aug 15 07:25:58 1997
+++ include/atalk/paths.h Tue Dec 29 01:26:34 1998
@@ -12,7 +12,7 @@
/* lock file path. this should be re-organized a bit. */
#ifndef _PATH_LOCKDIR
#ifdef BSD4_4
-#define _PATH_LOCKDIR "/var/spool/lock/"
+#define _PATH_LOCKDIR "/var/run/"
#else
#ifdef linux
#define _PATH_LOCKDIR "/var/lock/"
@@ -42,18 +42,18 @@
*/
#define _PATH_ATALKDEBUG "/tmp/atalkd.debug"
#define _PATH_ATALKDTMP "atalkd.tmp"
-#define _PATH_ATALKDLOCK ATALKPATHCAT(_PATH_LOCKDIR,"atalkd")
+#define _PATH_ATALKDLOCK ATALKPATHCAT(_PATH_LOCKDIR,"atalkd.pid")
/*
* psorder paths
*/
#define _PATH_TMPPAGEORDER "/tmp/psorderXXXXXX"
-#define _PATH_PAPDLOCK ATALKPATHCAT(_PATH_LOCKDIR,"papd")
+#define _PATH_PAPDLOCK ATALKPATHCAT(_PATH_LOCKDIR,"papd.pid")
/*
* afpd paths
*/
#define _PATH_AFPTKT "/tmp/AFPtktXXXXXX"
-#define _PATH_AFPDLOCK ATALKPATHCAT(_PATH_LOCKDIR,"afpd")
+#define _PATH_AFPDLOCK ATALKPATHCAT(_PATH_LOCKDIR,"afpd.pid")
#endif /* atalk/paths.h */