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)
commit0bfea7259e4091c6d914528a0e65fc10d8a56fb8
treeb4012d248aebeadb81c76168d4c2839cc63a48cf
parenta8948e0727b100945ab730d4d144ccbe219bbc94
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.
source/lib/util_unistr.c