From ee9a61841ac10d32d869a3893bc690c66f2bb1bb Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 12 May 1998 22:11:24 +0000 Subject: includes.h: SunOS doesn't have strcasecmp, solaris versions prior to 2.6 don't have vsnprintf. locking_slow.c: slight tidy. make_smbcodepage.c: Use safe_strcpy instead of pstrcpy. nmbd_winsserver.c: Use pstrcpy instead of fstrcpy. smbmount.c: Fixed reported bug. util.c: Removed old fstrcpy/fstrcat functions. Jeremy. (This used to be commit f257d2e4bafd3944cca737699913a8d868279ca6) --- source3/locking/locking_slow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/locking') diff --git a/source3/locking/locking_slow.c b/source3/locking/locking_slow.c index 635cd08e9a..183acd1f44 100644 --- a/source3/locking/locking_slow.c +++ b/source3/locking/locking_slow.c @@ -86,7 +86,7 @@ static BOOL share_name(int cnum, uint32 dev, uint32 inode, char *name) trim_string(name,"","/"); if (!*name) return(False); len = strlen(name); - name += strlen(name); + name += len; slprintf(name, sizeof(pstring) - len - 1, "/share.%u.%u",dev,inode); return(True); -- cgit