summaryrefslogtreecommitdiff
path: root/source3/lib/charcnv.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-07-22 07:38:32 +0000
committerAndrew Tridgell <tridge@samba.org>2001-07-22 07:38:32 +0000
commit49514266131aa55b4a97f02b39b2d5e5c1f625a2 (patch)
tree81cc9bf796345a882305af58bd18caa705d4e774 /source3/lib/charcnv.c
parent512351db92b4e13c2944f740090ec58730d8fa06 (diff)
downloadsamba-49514266131aa55b4a97f02b39b2d5e5c1f625a2.tar.gz
samba-49514266131aa55b4a97f02b39b2d5e5c1f625a2.tar.bz2
samba-49514266131aa55b4a97f02b39b2d5e5c1f625a2.zip
changed the iconv interface to go via ucs2 for all conversions. This
fixes some problems wih some character sets and allows for using internal charsets in conjunction with ionv charsets this makes us slower but more correct. speed will come later. (This used to be commit 594f84b4e39182dcf344c02dc0185376a2726395)
Diffstat (limited to 'source3/lib/charcnv.c')
-rw-r--r--source3/lib/charcnv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c
index 6c7646673d..49c4ba4063 100644
--- a/source3/lib/charcnv.c
+++ b/source3/lib/charcnv.c
@@ -97,9 +97,7 @@ static size_t convert_string(smb_iconv_t *descriptor,
DEBUG(0, ("Required %d, available %d\n",
srclen, destlen));
break;
-#ifdef EILSEQ
case EILSEQ: reason="Illegal myltybyte sequence"; break;
-#endif
}
DEBUG(0,("Conversion error:%s(%s)\n",reason,inbuf));
/* smb_panic(reason); */