summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-10-21 03:47:51 +0000
committerAndrew Tridgell <tridge@samba.org>2002-10-21 03:47:51 +0000
commit66ad44b588c491fc2352016b3c7da97c4f678a29 (patch)
treec59f720a60f3bf8ebd776d45418ecd493ac6079e /source3
parentd51c1e333b1df1ae1a5523864b3ded1172f5bd4b (diff)
downloadsamba-66ad44b588c491fc2352016b3c7da97c4f678a29.tar.gz
samba-66ad44b588c491fc2352016b3c7da97c4f678a29.tar.bz2
samba-66ad44b588c491fc2352016b3c7da97c4f678a29.zip
reverted an incorrect fix. What I was trying to do was fix a problem
with filenames with spaces in mangle_hash.c but the real problem is that mangle_hash.c assumes that the set of valid characters for 8.3 names is the same as the set of valid characters for long names. Thats an invalid assumption, with space being the obvious example. (This used to be commit e0065f4db4a1cfae03a3bb86e5cfea9c45dfa1c3)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util_unistr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_unistr.c b/source3/lib/util_unistr.c
index 01367ba699..eb47252413 100644
--- a/source3/lib/util_unistr.c
+++ b/source3/lib/util_unistr.c
@@ -103,7 +103,7 @@ void init_valid_table(void)
static int initialised;
static int mapped_file;
int i;
- const char *allowed = ".!#$%&'()_-@^`~ ";
+ const char *allowed = ".!#$%&'()_-@^`~";
if (initialised && mapped_file) return;
initialised = 1;