aboutsummaryrefslogtreecommitdiff
path: root/net/samba/files
diff options
context:
space:
mode:
authorTatsumi Hosokawa <hosokawa@FreeBSD.org>1999-07-12 08:38:14 +0000
committerTatsumi Hosokawa <hosokawa@FreeBSD.org>1999-07-12 08:38:14 +0000
commitccf3fc78966662eece1feb747745a1fd00071da3 (patch)
treea30c50d5cb3a1c48d265a41b346463d9d73ad5bc /net/samba/files
parentd84c870683de625ff28745ceea053fbae671c68b (diff)
downloadports-ccf3fc78966662eece1feb747745a1fd00071da3.tar.gz
ports-ccf3fc78966662eece1feb747745a1fd00071da3.zip
Notes
Diffstat (limited to 'net/samba/files')
-rw-r--r--net/samba/files/patch-ag20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/samba/files/patch-ag b/net/samba/files/patch-ag
new file mode 100644
index 000000000000..560c3c991af6
--- /dev/null
+++ b/net/samba/files/patch-ag
@@ -0,0 +1,20 @@
+--- 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());
+