get rid of doschar_table[]
authorVolker Lendecke <vl@samba.org>
Sat, 15 Dec 2007 23:25:49 +0000 (00:25 +0100)
committerJeremy Allison <jra@samba.org>
Sun, 16 Dec 2007 18:57:01 +0000 (10:57 -0800)
commit3c490d91f13df9894bf84350daa1e2da6d8206e4
treeb9f4ae6c35ae30e4fb3927b196124df7b105cb57
parente28c6813e024d40104969ce8c73b503c053c41cd
get rid of doschar_table[]

If I'm not completely blind, then check_dos_char is *only* used in the case
when we can't mmap() valid.dat. To me this looks as if we initialize the 65536
bits in doschar_table[] with check_dos_char_slowly, use it once to initialize
valid_table[] and *never* use them again. I think there's no point in keeping
these 8k of modified memory around for an unlikely case (no "valid.dat") and
even that only to use it exactly once.
(This used to be commit 0bfea7259e4091c6d914528a0e65fc10d8a56fb8)
source3/lib/util_unistr.c