diff options
author | Samba Release Account <samba-bugs@samba.org> | 1997-02-10 19:27:27 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1997-02-10 19:27:27 +0000 |
commit | c6311f4e0a17472f4ea7e6c15ad8fc41c71270c0 (patch) | |
tree | 898257ff3b43d3bc31b8cbb01460cb13b7117476 /source3 | |
parent | 8839603f03b624e80f86395261d513bc7eb79189 (diff) | |
download | samba-c6311f4e0a17472f4ea7e6c15ad8fc41c71270c0.tar.gz samba-c6311f4e0a17472f4ea7e6c15ad8fc41c71270c0.tar.bz2 samba-c6311f4e0a17472f4ea7e6c15ad8fc41c71270c0.zip |
Removed YOST code. Removal of leading ./ chars should
be done in unix_clean_name in util.c
jra@cygnus.com
(This used to be commit f9f1085c7db673f602f9de07670a9bbf3205410f)
Diffstat (limited to 'source3')
-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); |