diff options
author | Jeremy Allison <jra@samba.org> | 1998-09-19 02:35:43 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-09-19 02:35:43 +0000 |
commit | ac875597290a4519d6bbb2c476c4ba7ad3cf51c3 (patch) | |
tree | 83768b5bd73b68dd7fb0085625a02e971e1135d9 | |
parent | 11fe457e336168ab7491cfe123899240441316b8 (diff) | |
download | samba-ac875597290a4519d6bbb2c476c4ba7ad3cf51c3.tar.gz samba-ac875597290a4519d6bbb2c476c4ba7ad3cf51c3.tar.bz2 samba-ac875597290a4519d6bbb2c476c4ba7ad3cf51c3.zip |
Remove some byte-copying code in unix_format() that did nothing except
slow down my benchmark :-).
Jeremy.
(This used to be commit b55f93b213ee61c35e7a87a2be63191d55186bd6)
-rw-r--r-- | source3/lib/util.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 7c37d15bb9..2df7689b94 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -924,15 +924,7 @@ void string_replace(char *s,char oldc,char newc) ****************************************************************************/ void unix_format(char *fname) { - pstring namecopy; string_replace(fname,'\\','/'); - - if (*fname == '/') - { - pstrcpy(namecopy,fname); - pstrcpy(fname,"."); - pstrcat(fname,namecopy); - } } /**************************************************************************** |