diff options
-rw-r--r-- | source3/smbd/server.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 6f4da9b779..5ff60c6c6c 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -389,9 +389,6 @@ BOOL unix_convert(char *name,int cnum,pstring saved_last_component) struct stat st; char *start, *end; pstring dirpath; -#ifdef YOSTW - char szName[132], *p; -#endif *dirpath = 0; if(saved_last_component) @@ -401,23 +398,6 @@ BOOL unix_convert(char *name,int cnum,pstring saved_last_component) unix_format(name); unix_clean_name(name); -#ifdef YOSTW - /* Remove leading path specifications to check for 8_3 name */ - if ( strncmp( name, "./",2) == 0 ) { - strcpy( szName, name+2 ); - } - else { - strcpy( szName, name ); - } - p = strrchr( szName, '/' ); - if ( p != NULL ) { - p++; - } - else { - p = szName; - } -#endif - if (!case_sensitive && (!case_preserve || (is_8_3(name) && !short_case_preserve))) strnorm(name); |