mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
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 commit is contained in:
parent
32b6f6640d
commit
0a69e091a2
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user