check_dos_char: Change this to use a lazily-initialized lookup table
authorMartin Pool <mbp@samba.org>
Fri, 4 Apr 2003 08:16:14 +0000 (08:16 +0000)
committerMartin Pool <mbp@samba.org>
Fri, 4 Apr 2003 08:16:14 +0000 (08:16 +0000)
commit75438592cd8b427cbee4a55ee4bd2c8d15f6637d
treef0c4914dcd4a8347bc244812296104418850a2e7
parentb5e7b9dbeadfd64e28e4b837222703b4060fb7f9
check_dos_char: Change this to use a lazily-initialized lookup table
indicating which characters are valid dos characters.  This function
was previously quite slow because it did two unicode conversions on
every call.
(This used to be commit e4ec19e03f95fb7d5b170c7e0ab5837ebc7dcd97)
source3/lib/util_unistr.c