[opensuse-factory] bug in libc i18n
Hi, I just discovered a problem in ubuntu that most likely is in suse as well: POSIX requires for char -> wchar_t translations: In the POSIX locale an [EILSEQ] error cannot occur since all byte values are valid characters. but e.g. mbstowcs() aborts in the "C" locale when a non 7-bit ASCII character is discovered in the source string. Jörg -- EMail:joerg@schily.net (home) Jörg Schilling D-13353 Berlin joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/' -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, 2018-04-16 at 16:15 +0200, Joerg Schilling wrote:
Hi,
I just discovered a problem in ubuntu that most likely is in suse as well:
POSIX requires for char -> wchar_t translations:
In the POSIX locale an [EILSEQ] error cannot occur since all byte values are valid characters.
but e.g. mbstowcs() aborts in the "C" locale when a non 7-bit ASCII character is discovered in the source string.
please file bugs in bugzilla, where the right people can be assigned. Much more suitable than discussion / mailing lists. If you have a clear reproducer, that's helpful as well. cheers Dominique
On 04/16/2018 04:20 PM, Dominique Leuenberger / DimStar wrote:
I just discovered a problem in ubuntu that most likely is in suse as well:
POSIX requires for char -> wchar_t translations:
In the POSIX locale an [EILSEQ] error cannot occur since all byte values are valid characters.
but e.g. mbstowcs() aborts in the "C" locale when a non 7-bit ASCII character is discovered in the source string.
please file bugs in bugzilla, where the right people can be assigned. Much more suitable than discussion / mailing lists.
If you have a clear reproducer, that's helpful as well.
If it affects multiple distributions, the best place for filing this bug report is actually upstream.
Adrian -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> wrote:
If it affects multiple distributions, the best place for filing this bug report is actually upstream.
OK, the bug is known: https://sourceware.org/bugzilla/show_bug.cgi?id=19932 But as usual with GNU userland code :-( there does not seem to be any interest to fix the problem. Jörg -- EMail:joerg@schily.net (home) Jörg Schilling D-13353 Berlin joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/' -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Dominique Leuenberger / DimStar <dimstar@opensuse.org> wrote:
but e.g. mbstowcs() aborts in the "C" locale when a non 7-bit ASCII character is discovered in the source string.
please file bugs in bugzilla, where the right people can be assigned. Much more suitable than discussion / mailing lists.
Do you have a URL for this? Jörg -- EMail:joerg@schily.net (home) Jörg Schilling D-13353 Berlin joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/' -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, 2018-04-16 at 16:23 +0200, Joerg Schilling wrote:
Dominique Leuenberger / DimStar <dimstar@opensuse.org> wrote:
but e.g. mbstowcs() aborts in the "C" locale when a non 7-bit ASCII character is discovered in the source string.
please file bugs in bugzilla, where the right people can be assigned. Much more suitable than discussion / mailing lists.
Do you have a URL for this?
https://bugzilla.opensuse.org for openSUSE specific bugs or glibc upstream https://sourceware.org/bugzilla where all distros will benefit in time Cheers Dominique
participants (3)
-
Dominique Leuenberger / DimStar
-
Joerg Schilling
-
John Paul Adrian Glaubitz