summaryrefslogtreecommitdiff
path: root/source3/lib/file_id.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2007-12-16 00:25:49 +0100
committerJeremy Allison <jra@samba.org>2007-12-16 10:57:01 -0800
commit3c490d91f13df9894bf84350daa1e2da6d8206e4 (patch)
treeb9f4ae6c35ae30e4fb3927b196124df7b105cb57 /source3/lib/file_id.c
parente28c6813e024d40104969ce8c73b503c053c41cd (diff)
downloadsamba-3c490d91f13df9894bf84350daa1e2da6d8206e4.tar.gz
samba-3c490d91f13df9894bf84350daa1e2da6d8206e4.tar.bz2
samba-3c490d91f13df9894bf84350daa1e2da6d8206e4.zip
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)
Diffstat (limited to 'source3/lib/file_id.c')
0 files changed, 0 insertions, 0 deletions