NetBSD Problem Report #12
From jtc Fri Oct 8 17:22:51 1993
Received: from localhost (jtc@localhost) by sun-lamp.cs.berkeley.edu (8.3/8.3) id RAA15139; Fri, 8 Oct 1993 17:22:51 -0700
Message-Id: <199310090022.RAA15139@sun-lamp.cs.berkeley.edu>
Date: Fri, 8 Oct 1993 17:22:51 -0700
From: "J.T. Conklin" <jtc>
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: strtod(3) should use locale specific decimal point character.
>Number: 12
>Category: lib
>Synopsis: strtod(3) should use locale specific decimal point character.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: jtc
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 08 17:35:04 +0000 1993
>Closed-Date: Tue Dec 21 11:24:54 +0000 1993
>Last-Modified: Sun Mar 03 17:55:07 +0000 2013
>Originator: J.T. Conklin
>Release: 0.9
>Organization:
Winning Strategies, Inc.
>Environment:
System: NetBSD sun-lamp.cs.berkeley.edu 0.9a SUN_LAMP#6 i386
>Description:
The strtod() function should use the locale specific decimal point
character. Should use localeconv()->decimal_point[0] instead of
'.'.
>How-To-Repeat:
Can't repeat it yet, since locale support isn't merged yet.
Doesn't make it any less wrong though.
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->jtc
Responsible-Changed-By: jtc
Responsible-Changed-When: Wed Dec 8 13:47:09 1993
Responsible-Changed-Why:
I guess I'm responsible for ANSI/POSIX issues.
State-Changed-From-To: open->closed
State-Changed-By: jtc
State-Changed-When: Tue Dec 21 11:24:54 1993
State-Changed-Why:
I updated strtod() to use localeconv()->decimal_point[0] instead of '.'.
>Unformatted:
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: strtod(3) should use locale specific decimal point character.
From: jtc@sun-lamp.cs.berkeley.edu
Reply-To: jtc@sun-lamp.cs.berkeley.edu
X-send-pr-version: 3.01
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.