diff options
author | Jeremy Allison <jra@samba.org> | 1998-09-26 03:49:25 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-09-26 03:49:25 +0000 |
commit | a377543cc0af26ddcaf58aa4bc368afd70bca5ec (patch) | |
tree | 076cc6cd9002bbbfdf4b0cc5176c3770d0162753 /source3/smbd/filename.c | |
parent | b053652d490c8b37084797a64f14cdd44ff82578 (diff) | |
download | samba-a377543cc0af26ddcaf58aa4bc368afd70bca5ec.tar.gz samba-a377543cc0af26ddcaf58aa4bc368afd70bca5ec.tar.bz2 samba-a377543cc0af26ddcaf58aa4bc368afd70bca5ec.zip |
Fixed the problem with reply_getatr() being passed a "" name in reply_getatr,
replaced the paranoid code in smbd/filename.c that replaces a "" with a ".".
I am starting to think this code may well be needed.
Jeremy.
(This used to be commit bdc3d9f52fbded4b1483af8be0059decfd4bad34)
Diffstat (limited to 'source3/smbd/filename.c')
-rw-r--r-- | source3/smbd/filename.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index 685725f096..7cbb3392cb 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -366,8 +366,6 @@ BOOL unix_convert(char *name,connection_struct *conn,char *saved_last_component, trim_string(name,"/","/"); - /* I've disabled this till we fix printing (probably a getatr problem) (tridge) */ -#if TRIM_NULL_NAMES /* * If we trimmed down to a single '\0' character * then we should use the "." directory to avoid @@ -378,7 +376,6 @@ BOOL unix_convert(char *name,connection_struct *conn,char *saved_last_component, name[0] = '.'; name[1] = '\0'; } -#endif /* * Ensure saved_last_component is valid even if file exists. |