diff options
author | Samba Release Account <samba-bugs@samba.org> | 1997-08-25 22:18:31 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1997-08-25 22:18:31 +0000 |
commit | 4c319ad04699b236d038d141323c7586c5bf0983 (patch) | |
tree | e85e919682939b98a0ba8c3fc4e27f9c77e9af91 /source3/include/smb.h | |
parent | 57d9e2b794f2121432d690539f481776ecce1262 (diff) | |
download | samba-4c319ad04699b236d038d141323c7586c5bf0983.tar.gz samba-4c319ad04699b236d038d141323c7586c5bf0983.tar.bz2 samba-4c319ad04699b236d038d141323c7586c5bf0983.zip |
charset.c : Add mapping for code page 932 (KANJI).
client.c : Fix crash bug. Add code to use BUFFER_SIZE for NetServerEnum calls.
namepacket.c: Fixed cast.
nmbsync.c : Add code to use BUFFER_SIZE for NetServerEnum calls.
smb.h : Set default client code page to 932 for KANJI.
system.c : Remove vendor specific code that crept in :-).
util.c : Added #define to allow Samba to behave as Win95 when doing
KANJI case insensitivity tests.
Jeremy (jallison@whistle.com)
(This used to be commit 7f7d2faa07b81ad435b2acc9318bc39d813020c6)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r-- | source3/include/smb.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 1dbe04abc8..540aa0798d 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -923,8 +923,13 @@ enum case_handling {CASE_LOWER,CASE_UPPER}; #endif +#ifdef KANJI +/* Default client code page - 932 - Japanese */ +#define DEFAULT_CLIENT_CODE_PAGE 932 +#else /* KANJI */ /* Default client code page - 850 - Western European */ #define DEFAULT_CLIENT_CODE_PAGE 850 +#endif /* KANJI */ /* Size of buffer to use when moving files across filesystems. */ #define COPYBUF_SIZE (8*1024) |