From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14821 invoked by alias); 10 Mar 2006 06:54:45 -0000 Received: (qmail 14802 invoked by uid 48); 10 Mar 2006 06:54:42 -0000 Date: Fri, 10 Mar 2006 06:54:00 -0000 Message-ID: <20060310065442.14801.qmail@sourceware.org> From: "barbier at linuxfr dot org" To: glibc-bugs@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: CC Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2006-03/txt/msg00049.txt.bz2 List-Id: ------- 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 on the CC list for the bug, or are watching someone who is.