mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
2430255b30
A free SMB and CIFS client and server for UNIX. PR: 15953 Submitted by: Shinya Sasaki <pcmaster@osk3.3web.ne.jp>
37 lines
931 B
Plaintext
37 lines
931 B
Plaintext
*** nmbd/nmbd_winsserver.c.orig Wed Jul 21 10:25:11 1999
|
|
--- nmbd/nmbd_winsserver.c Mon Dec 27 04:46:26 1999
|
|
***************
|
|
*** 152,158 ****
|
|
start_async_dns();
|
|
#endif
|
|
|
|
! pstrcpy(fname,lp_lockdir());
|
|
trim_string(fname,NULL,"/");
|
|
pstrcat(fname,"/");
|
|
pstrcat(fname,WINS_LIST);
|
|
--- 152,158 ----
|
|
start_async_dns();
|
|
#endif
|
|
|
|
! pstrcpy(fname,"/var/db");
|
|
trim_string(fname,NULL,"/");
|
|
pstrcat(fname,"/");
|
|
pstrcat(fname,WINS_LIST);
|
|
***************
|
|
*** 1551,1557 ****
|
|
}
|
|
}
|
|
|
|
! slprintf(fname,sizeof(fname),"%s/%s", lp_lockdir(), WINS_LIST);
|
|
all_string_sub(fname,"//", "/", 0);
|
|
slprintf(fnamenew,sizeof(fnamenew),"%s.%u", fname, (unsigned int)getpid());
|
|
|
|
--- 1551,1557 ----
|
|
}
|
|
}
|
|
|
|
! slprintf(fname,sizeof(fname),"%s/%s", "/var/db", WINS_LIST);
|
|
all_string_sub(fname,"//", "/", 0);
|
|
slprintf(fnamenew,sizeof(fnamenew),"%s.%u", fname, (unsigned int)getpid());
|
|
|