git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11fe457
)
Remove some byte-copying code in unix_format() that did nothing except
author
Jeremy Allison
<jra@samba.org>
Sat, 19 Sep 1998 02:35:43 +0000
(
02:35
+0000)
committer
Jeremy Allison
<jra@samba.org>
Sat, 19 Sep 1998 02:35:43 +0000
(
02:35
+0000)
slow down my benchmark :-).
Jeremy.
(This used to be commit
b55f93b213ee61c35e7a87a2be63191d55186bd6
)
source3/lib/util.c
patch
|
blob
|
history
diff --git
a/source3/lib/util.c
b/source3/lib/util.c
index 7c37d15bb99e8f2d898147c0ef2b8905f25cd2c8..2df7689b9441d609360660fb2ff87a18f53a4277 100644
(file)
--- 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);
- }
}
/****************************************************************************