Re: iconv module should detect buggy glibc iconv

2023-02-19 Thread Reuben Thomas
On Sun, 19 Feb 2023 at 00:58, Bruno Haible wrote: > Reuben Thomas wrote: > > See https://sourceware.org/bugzilla/show_bug.cgi?id=29913 > > > > This is a bug I just came across (in my capacity as maintainer of Recode) > > in current glibc. > > > > glibc iconv(3) can return EILSEQ when the input

Re: iconv module should detect buggy glibc iconv

2023-02-18 Thread Bruno Haible
Reuben Thomas wrote: > See https://sourceware.org/bugzilla/show_bug.cgi?id=29913 > > This is a bug I just came across (in my capacity as maintainer of Recode) > in current glibc. > > glibc iconv(3) can return EILSEQ when the input is merely untranslatable, > rather than invalid. This is directly

iconv module should detect buggy glibc iconv

2023-02-18 Thread Reuben Thomas
See https://sourceware.org/bugzilla/show_bug.cgi?id=29913 This is a bug I just came across (in my capacity as maintainer of Recode) in current glibc. glibc iconv(3) can return EILSEQ when the input is merely untranslatable, rather than invalid. This is directly contrary to the POSIX spec[1],