From 1452c2d8c4a2124e4c97bb51a1e58bcfda620ef0 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 26 Mar 2001 23:13:02 +0000 Subject: Fix from Ryo Kawahara to make SWAT correctly write and smb.conf file in utf8. Jeremy. (This used to be commit 42052d6079479452aa43eb37ad3d679d28337779) --- source3/include/kanji.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/include/kanji.h') diff --git a/source3/include/kanji.h b/source3/include/kanji.h index f5e198c2ee..58774a699d 100644 --- a/source3/include/kanji.h +++ b/source3/include/kanji.h @@ -166,6 +166,7 @@ extern char *(*multibyte_strstr)(const char *s1, const char *s2); extern char *(*multibyte_strtok)(char *s1, const char *s2); extern char *(*_dos_to_unix)(char *str, BOOL overwrite); extern char *(*_unix_to_dos)(char *str, BOOL overwrite); +extern char *(*_dos_to_dos)(char *str, BOOL overwrite); extern BOOL (*is_multibyte_char)(char c); extern int (*_skip_multibyte_char)(char c); @@ -175,6 +176,7 @@ extern int (*_skip_multibyte_char)(char c); #define strtok(s1, s2) ((*multibyte_strtok)((s1), (s2))) #define dos_to_unix(x,y) ((*_dos_to_unix)((x), (y))) #define unix_to_dos(x,y) ((*_unix_to_dos)((x), (y))) +#define dos_to_dos(x,y) ((*_dos_to_dos)((x), (y))) #define skip_multibyte_char(c) ((*_skip_multibyte_char)((c))) #endif /* _KANJI_C_ */ -- cgit