From 66ad44b588c491fc2352016b3c7da97c4f678a29 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 21 Oct 2002 03:47:51 +0000 Subject: 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) --- source3/lib/util_unistr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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; -- cgit