diff options
author | Jeremy Allison <jra@samba.org> | 2004-05-07 18:37:47 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:51:30 -0500 |
commit | e0da56a84808c522bc7324b5d636f1cbd317a2c5 (patch) | |
tree | 5522c069c408792851c5eb747feb5b5981373131 /source3/lib/util.c | |
parent | 5cb65233cd5c4f3c740ff3d06807296c2032377d (diff) | |
download | samba-e0da56a84808c522bc7324b5d636f1cbd317a2c5.tar.gz samba-e0da56a84808c522bc7324b5d636f1cbd317a2c5.tar.bz2 samba-e0da56a84808c522bc7324b5d636f1cbd317a2c5.zip |
r570: Remove lots of globals to handle case issues - move them
to connection struct entries (as they should have been from
the start). Jerry, once you've cut over to 3.0.4 release
branch I'll add this to 3.0 also.
- Jerry cut over :-).
Jeremy.
(This used to be commit 578a508509d21226ad3332fc54c3ab54cd8ae452)
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r-- | source3/lib/util.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 3f57048a00..527e1376d1 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -63,19 +63,6 @@ int chain_size = 0; int trans_num = 0; -/* - case handling on filenames -*/ -int case_default = CASE_LOWER; - -/* the following control case operations - they are put here so the - client can link easily */ -BOOL case_sensitive; -BOOL case_preserve; -BOOL use_mangled_map = False; -BOOL short_case_preserve; -BOOL case_mangle; - static enum remote_arch_types ra_type = RA_UNKNOWN; pstring user_socket_options=DEFAULT_SOCKET_OPTIONS; @@ -609,7 +596,7 @@ void unix_clean_name(char *s) Make a dir struct. ****************************************************************************/ -void make_dir_struct(char *buf, const char *mask, const char *fname,SMB_OFF_T size,int mode,time_t date) +void make_dir_struct(char *buf, const char *mask, const char *fname,SMB_OFF_T size,int mode,time_t date, BOOL case_sensitive) { char *p; pstring mask2; @@ -1500,7 +1487,7 @@ const char *readdirname(DIR *p) of a path matches a (possibly wildcarded) entry in a namelist. ********************************************************************/ -BOOL is_in_path(const char *name, name_compare_entry *namelist) +BOOL is_in_path(const char *name, name_compare_entry *namelist, BOOL case_sensitive) { pstring last_component; char *p; |