Change the multibyte character set support so that
authorJeremy Allison <jra@samba.org>
Tue, 3 Mar 1998 20:19:14 +0000 (20:19 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 3 Mar 1998 20:19:14 +0000 (20:19 +0000)
commit299016338cfb47f0c585875ef9b468121fcee97d
tree9d50463080527f1e1d7487c9552609633511ff2c
parent4adb00e41abbbaf6eaa014e6a599cb2c8b77d7da
Change the multibyte character set support so that
Kanji support is one case of multibyte character
support, rather than being a specific case in
single byte character support.

This allows us to add Big5 Chinese support (code page 950)
and Korean Hangul support (code page 949) at very little
cost. Also allows us to easily add future multibyte
code pages.

Makefile: Added codepages 949, 950 as we now support more multibyte
codepages.
asyncdns.c: Fixed problem with child being re-spawned when parent killed.
charcnv.c
charset.c
client.c
clitar.c
kanji.c
kanji.h
smb.h
util.c
loadparm.c: Generic multibyte codepage support (adding Big5 Chinese
            and Korean Hangul).
nmbd.c: Fixed problem with child being re-spawned when parent killed.
mangle.c: Modified str_checksum so that first 15 characters have more
          effect on outcome. This helps with short name mangling as
          most 'long' names are still shorter than 15 chars (bug was
          foobar_mng and foobar_sum would hash to the same value, with
          the modified code they hash differently.
Jeremy.
15 files changed:
source/client/client.c
source/client/clitar.c
source/client/smbmount.c
source/include/kanji.h
source/include/proto.h
source/include/smb.h
source/lib/charcnv.c
source/lib/charset.c
source/lib/kanji.c
source/lib/util.c
source/nmbd/asyncdns.c
source/nmbd/nmbd.c
source/param/loadparm.c
source/smbd/mangle.c
source/smbd/trans2.c