NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/60885: The scanf() family cannot deal with multi-byte decimal points
The following reply was made to PR lib/60885; it has been noted by GNATS.
From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: lib/60885: The scanf() family cannot deal with multi-byte decimal points
Date: Thu, 29 Oct 2026 00:22:01 +0700
Note that there are 2 (related, but quite different) bugs here.
The bug I observed occur, in scanf(3) (sscanf(3) actually, but
that is irrelevant), and then the one I detected in the source
code, which is actually a bug in the wscanf(3) family of functions.
They both affect running *scanf() in a locale with a multi-byte
LC_NUMERIC decimal_point character, which works in neither variant.
However, the code which is broken is quite different in the two
cases. Both will be fixed.
Home |
Main Index |
Thread Index |
Old Index