1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-07 22:58:11 +00:00
freebsd-ports/net/samba-devel/files/patch-ag

21 lines
585 B
Plaintext
Raw Normal View History

--- nmbd/nmbd_winsserver.c.orig Fri Apr 2 05:00:46 1999
+++ nmbd/nmbd_winsserver.c Mon Jul 12 17:08:28 1999
@@ -152,7 +152,7 @@
start_async_dns();
#endif
- pstrcpy(fname,lp_lockdir());
+ pstrcpy(fname,"/var/db");
trim_string(fname,NULL,"/");
pstrcat(fname,"/");
pstrcat(fname,WINS_LIST);
@@ -1551,7 +1551,7 @@
}
}
- slprintf(fname,sizeof(fname),"%s/%s", lp_lockdir(), WINS_LIST);
+ slprintf(fname,sizeof(fname),"%s/%s", "/var/db", WINS_LIST);
string_sub(fname,"//", "/");
slprintf(fnamenew,sizeof(fnamenew),"%s.%u", fname, (unsigned int)getpid());