1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

move the dot_pos calculation down a bit

(This used to be commit 45e2ffdc9c)
This commit is contained in:
Andrew Tridgell 1996-05-04 10:44:49 +00:00
parent 6bbd0d7b69
commit 089c5b2165

View File

@ -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