diff options
author | Jeremy Allison <jra@samba.org> | 1998-05-12 22:11:24 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-05-12 22:11:24 +0000 |
commit | ee9a61841ac10d32d869a3893bc690c66f2bb1bb (patch) | |
tree | 451b75c7fd0b01a97dd9ef1285160d09c3a7d6c7 /source3/locking | |
parent | 785d23c6cb1f79dfc3e7db7b39e5ee51739ac737 (diff) | |
download | samba-ee9a61841ac10d32d869a3893bc690c66f2bb1bb.tar.gz samba-ee9a61841ac10d32d869a3893bc690c66f2bb1bb.tar.xz samba-ee9a61841ac10d32d869a3893bc690c66f2bb1bb.zip |
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)
Diffstat (limited to 'source3/locking')
-rw-r--r-- | source3/locking/locking_slow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/locking_slow.c b/source3/locking/locking_slow.c index 635cd08e9aa..183acd1f440 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); |