git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bbd0d7
)
move the dot_pos calculation down a bit
author
Andrew Tridgell
<tridge@samba.org>
Sat, 4 May 1996 10:44:49 +0000
(10:44 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Sat, 4 May 1996 10:44:49 +0000
(10:44 +0000)
(This used to be commit
45e2ffdc9c4334565e51c550b3a19a9bbb7037ef
)
source3/smbd/mangle.c
patch
|
blob
|
history
diff --git
a/source3/smbd/mangle.c
b/source3/smbd/mangle.c
index 8f1490c528df835fd33c3e22b1e8ba5e3a886266..a43e7f62451b1eb339e8384ae43f8218d8233647 100644
(file)
--- a/
source3/smbd/mangle.c
+++ b/
source3/smbd/mangle.c
@@
-90,8
+90,6
@@
BOOL is_8_3(char *fname)
if (slash_pos) fname = slash_pos+1;
len = strlen(fname);
- dot_pos = strchr(fname,'.');
-
DEBUG(5,("checking %s for 8.3\n",fname));
if (case_mangle)
@@
-122,6
+120,8
@@
BOOL is_8_3(char *fname)
/* %%% A nice improvment to name mangling would be to translate
filename to ANSI charset on the smb server host */
+ dot_pos = strchr(fname,'.');
+
{
char *p = fname;
#ifdef KANJI