[Bug 1202788] New: scanf gives wrong results in Polish locale
http://bugzilla.opensuse.org/show_bug.cgi?id=1202788 Bug ID: 1202788 Summary: scanf gives wrong results in Polish locale Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: screening-team-bugs@suse.de Reporter: giecrilj@stegny.2a.pl QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- The following assertion fails: #include <assert.h> #include <locale.h> #include <stdio.h> #include <stdlib.h> int main () { #define NBSP "\342\200\257" auto float d; assert (! setlocale (LC_ALL, "pl_PL.UTF-8") || sscanf ("1" NBSP "0" NBSP NBSP "2", "%'f", &d) != 01 || d != 22); return EXIT_SUCCESS ; } -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202788 Christopher Yeleighton <giecrilj@stegny.2a.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|--- |Community User -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202788 Christopher Yeleighton <giecrilj@stegny.2a.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://build.opensuse.org/ | |package/show/home:yecril71p | |l/boo1202788test -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202788 http://bugzilla.opensuse.org/show_bug.cgi?id=1202788#c1 Christopher Yeleighton <giecrilj@stegny.2a.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://unicode-org.atlassi | |an.net/browse/ICU-22145 --- Comment #1 from Christopher Yeleighton <giecrilj@stegny.2a.pl> --- Workaround: -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com