[PATCH] Fix
Andreas Schneider
asn at samba.org
Tue Jan 31 17:01:43 UTC 2017
Hello,
the samba4.local.iconv test fails on newer glibc version (>= glibc-2.24,
Fedora 25, openSUSE Tumbleweed)
test: 5M random UTF-16LE sequences
time: 2017-01-31 16:54:17.914315
rem1: 30 df
rem2: 30 df
i=159 failed UTF-8
time: 2017-01-31 16:54:17.916137
failure: 5M random UTF-16LE sequences [
../lib/util/charset/tests/iconv.c:225: errno mismatch with UTF-8 internal=22/
Invalid argument system=84/Invalid or incomplete multibyte or wide character
]
The attached patch checks the return code and choses the appropriate one to
return.
Review and push much appreciated!
Thanks,
Andreas
--
Andreas Schneider GPG-ID: CC014E3D
Samba Team asn at samba.org
www.samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-util-charset-Return-EILSEQ-in-smb_iconv-if-newer-lib.patch
Type: text/x-patch
Size: 2365 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170131/9aba9162/0001-util-charset-Return-EILSEQ-in-smb_iconv-if-newer-lib.bin>
More information about the samba-technical
mailing list