From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14817 invoked by alias); 10 Mar 2006 06:54:44 -0000 Received: (qmail 14794 invoked by uid 48); 10 Mar 2006 06:54:42 -0000 Date: Fri, 10 Mar 2006 06:54:00 -0000 Message-ID: <20060310065442.14793.qmail@sourceware.org> From: "barbier at linuxfr dot org" To: libc-locales@sources.redhat.com In-Reply-To: <20060306045821.2420.thomas.schwanhaeuser@aps-web.de> References: <20060306045821.2420.thomas.schwanhaeuser@aps-web.de> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug localedata/2420] de_CH: negative number formatting X-Bugzilla-Reason: AssignedTo Mailing-List: contact libc-locales-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: libc-locales-owner@sourceware.org X-SW-Source: 2006-q1/txt/msg00053.txt.bz2 ------- Additional Comments From barbier at linuxfr dot org 2006-03-10 06:54 ------- After more explanations from Thomas, I can confirm that there is indeed a bug with strfmon and the ! modifier. Here is a test case. Expected result: Fr.- 12.34 - 12.34 Actual result: Fr.- 12.34 12.34 #include #include #include int main() { char buf[500]; setlocale(LC_ALL, "de_CH.UTF-8"); strfmon(buf, sizeof(buf), "%n %!n\n", -12.34, -12.34); printf("%s", buf); return 0; } -- http://sourceware.org/bugzilla/show_bug.cgi?id=2420 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.