mirror of
https://github.com/samba-team/samba.git
synced 2025-12-11 08:23:49 +03:00
Use a common function to parse all pathnames from the wire. This allows
much closer emulation of Win2k3 error return codes. Jeremy.
This commit is contained in:
@@ -245,6 +245,7 @@ copy an IP address from one buffer to another
|
||||
Make a filename into unix format.
|
||||
****************************************************************************/
|
||||
|
||||
#define IS_DIRECTORY_SEP(c) ((c) == '\\' || (c) == '/')
|
||||
#define unix_format(fname) string_replace(fname,'\\','/')
|
||||
#define unix_format_w(fname) string_replace_w(fname, UCS2_CHAR('\\'), UCS2_CHAR('/'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user