diff options
author | Jeremy Allison <jra@samba.org> | 2005-05-06 08:07:39 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2005-05-06 08:07:39 +0000 |
commit | e12386e10c0f3b76c992f10b693b4e9b20724dc8 (patch) | |
tree | 5e68747b6db15714db7f63257c777a85fd1c9e09 /source/smbd/filename.c | |
parent | 47bdfc8476b73a37c077311d4f673a3f31d0b5f9 (diff) | |
download | samba-e12386e10c0f3b76c992f10b693b4e9b20724dc8.tar.gz samba-e12386e10c0f3b76c992f10b693b4e9b20724dc8.tar.xz samba-e12386e10c0f3b76c992f10b693b4e9b20724dc8.zip |
r6625: Remove another global variable left over from a long time ago (magic char).
Jeremy.
Diffstat (limited to 'source/smbd/filename.c')
-rw-r--r-- | source/smbd/filename.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/smbd/filename.c b/source/smbd/filename.c index 9ca2c0efae9..5f3cdfb77e6 100644 --- a/source/smbd/filename.c +++ b/source/smbd/filename.c @@ -150,7 +150,7 @@ BOOL unix_convert(pstring name,connection_struct *conn,char *saved_last_componen pstrcpy(saved_last_component, name); } - if (!conn->case_preserve || (mangle_is_8_3(name, False) && !conn->short_case_preserve)) + if (!conn->case_preserve || (mangle_is_8_3(name, False, SNUM(conn)) && !conn->short_case_preserve)) strnorm(name, lp_defaultcase(SNUM(conn))); start = name; @@ -179,7 +179,7 @@ BOOL unix_convert(pstring name,connection_struct *conn,char *saved_last_componen * sensitive then searching won't help. */ - if (conn->case_sensitive && !mangle_is_mangled(name) && !*lp_mangled_map(SNUM(conn))) + if (conn->case_sensitive && !mangle_is_mangled(name, SNUM(conn)) && !*lp_mangled_map(SNUM(conn))) return(False); name_has_wildcard = ms_has_wild(start); @@ -189,7 +189,7 @@ BOOL unix_convert(pstring name,connection_struct *conn,char *saved_last_componen * just a component. JRA. */ - if (mangle_is_mangled(start)) + if (mangle_is_mangled(start, SNUM(conn))) component_was_mangled = True; /* @@ -317,7 +317,7 @@ BOOL unix_convert(pstring name,connection_struct *conn,char *saved_last_componen * base of the filename. */ - if (mangle_is_mangled(start)) { + if (mangle_is_mangled(start, SNUM(conn))) { mangle_check_cache( start, sizeof(pstring) - 1 - (start - name) ); } @@ -433,7 +433,7 @@ static BOOL scan_directory(connection_struct *conn, const char *path, char *name BOOL mangled; long curpos; - mangled = mangle_is_mangled(name); + mangled = mangle_is_mangled(name, SNUM(conn)); /* handle null paths */ if (*path == 0) |