summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-09-25 03:52:29 +0000
committerAndrew Tridgell <tridge@samba.org>1998-09-25 03:52:29 +0000
commit95f99e80b4d0bf23e9e638f3024ae9d074482f57 (patch)
tree65f2324931f1894687be14f4baf3040d65c15f61 /source3/smbd
parent9f2edc69af5d23539c13f07613dd79ad92ebffaf (diff)
downloadsamba-95f99e80b4d0bf23e9e638f3024ae9d074482f57.tar.gz
samba-95f99e80b4d0bf23e9e638f3024ae9d074482f57.tar.bz2
samba-95f99e80b4d0bf23e9e638f3024ae9d074482f57.zip
I've disabled the conversion of null filenames to "." until we solve
the win95 printing problem. I suspect it is a smbgetatr() problem with a null name (which requires special behaviour). This is an interim solution. (This used to be commit 0a69e091a2ec75bce89760d69ea1488941108740)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/filename.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index 7cbb3392cb..685725f096 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -366,6 +366,8 @@ 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
@@ -376,6 +378,7 @@ 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.