Your message dated Mon, 19 Mar 2007 19:27:58 +0100 with message-id <20070319182758.GA6104@mad.intersec.eu> and subject line Bug#415417: libc6: INF not accepted by strtod in Turkish locales (tr_TR.iso88599) has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libc6: INF not accepted by strtod in Turkish locales (tr_TR.iso88599)
- From: Vincent Lefevre <vincent@vinc17.org>
- Date: Mon, 19 Mar 2007 13:26:19 +0100
- Message-id: <[🔎] 20070319122619.GA9872@vin.lip.ens-lyon.fr>
Package: libc6 Version: 2.3.6.ds1-13 Severity: normal The ISO C standard requires "INF" to be accepted by strtod: -- one of INF or INFINITY, ignoring case But in Turkish locales (LC_ALL=tr_TR.iso88599), where the lowercase 'I' is the dotless 'i', "INF" (or similar) is not recognized as the infinity. This can be seen with the following program and LC_ALL="tr_TR.iso88599". #include <stdio.h> #include <stdlib.h> #include <locale.h> int main (void) { double x; char *end; int err; if (setlocale (LC_ALL, "") == NULL) { fprintf (stderr, "Can't set locales\n"); exit (EXIT_FAILURE); } x = strtod ("INF", &end); err = *end != '\0'; printf ("x = %f - error: %s\n", x, err ? "yes" : "no"); return err; } Note: I reported this bug on 2005-08-22 here: http://sources.redhat.com/bugzilla/show_bug.cgi?id=1230 when I had the libc6 2.3.5-4 Debian package. It was fixed on 2005-09-28 in the CVS trunk. But it is still present in Debian. -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-4-686-bigmem Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1) Versions of packages libc6 depends on: ii tzdata 2007c-1 Time Zone and Daylight Saving Time libc6 recommends no packages. -- no debconf information
--- End Message ---
--- Begin Message ---
- To: Vincent Lefevre <vincent@vinc17.org>, 415417-done@bugs.debian.org
- Subject: Re: Bug#415417: libc6: INF not accepted by strtod in Turkish locales (tr_TR.iso88599)
- From: Pierre HABOUZIT <madcoder@debian.org>
- Date: Mon, 19 Mar 2007 19:27:58 +0100
- Message-id: <20070319182758.GA6104@mad.intersec.eu>
- Mail-followup-to: Vincent Lefevre <vincent@vinc17.org>, 415417-done@bugs.debian.org
- In-reply-to: <[🔎] 20070319122619.GA9872@vin.lip.ens-lyon.fr>
- References: <[🔎] 20070319122619.GA9872@vin.lip.ens-lyon.fr>
Version: 2.5 On Mon, Mar 19, 2007 at 01:26:19PM +0100, Vincent Lefevre wrote: > Package: libc6 > Version: 2.3.6.ds1-13 > Severity: normal > > The ISO C standard requires "INF" to be accepted by strtod: > > -- one of INF or INFINITY, ignoring case > > But in Turkish locales (LC_ALL=tr_TR.iso88599), where the lowercase > 'I' is the dotless 'i', "INF" (or similar) is not recognized as the > infinity. This can be seen with the following program and > LC_ALL="tr_TR.iso88599". > > #include <stdio.h> > #include <stdlib.h> > #include <locale.h> > > int main (void) > { > double x; > char *end; > int err; > > if (setlocale (LC_ALL, "") == NULL) > { > fprintf (stderr, "Can't set locales\n"); > exit (EXIT_FAILURE); > } > > x = strtod ("INF", &end); > err = *end != '\0'; > printf ("x = %f - error: %s\n", x, err ? "yes" : "no"); > > return err; > } > > Note: I reported this bug on 2005-08-22 here: > > http://sources.redhat.com/bugzilla/show_bug.cgi?id=1230 > > when I had the libc6 2.3.5-4 Debian package. It was fixed on 2005-09-28 > in the CVS trunk. But it is still present in Debian. > > -- System Information: > Debian Release: 4.0 > APT prefers unstable > APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') > Architecture: i386 (i686) > Shell: /bin/sh linked to /bin/bash > Kernel: Linux 2.6.18-4-686-bigmem > Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1) > > Versions of packages libc6 depends on: > ii tzdata 2007c-1 Time Zone and Daylight Saving Time > > libc6 recommends no packages. > > -- no debconf information > > -- ·O· Pierre Habouzit ··O madcoder@debian.org OOO http://www.madism.orgAttachment: pgp1C2jDXJ3_i.pgp
Description: PGP signature
--- End Message ---