NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/60885 CVS commit: src/lib/libc/stdio



The following reply was made to PR lib/60885; it has been noted by GNATS.

From: "Robert Elz" <kre%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/60885 CVS commit: src/lib/libc/stdio
Date: Thu, 29 Oct 2026 05:47:57 +0000

 Module Name:	src
 Committed By:	kre
 Date:		Thu Oct 29 05:47:57 UTC 2026
 
 Modified Files:
 	src/lib/libc/stdio: vfwscanf.c
 
 Log Message:
 PR lib/60885 - fix wscanf(3) conversion of multi-byte decimal point
 
 This alters the way that the decimal point character in the locale
 data is converted before processing float (all sizes) data fields.
 
 This is a much simpler change to that for scanf(3), as the decimal
 point (radix character) remains a single (wchar_t) character, and is
 processed as such.  All that is needed for wscanf() is to properly
 convert the value from the locale data to a wchar_t.
 
 No pullups planned, no NetBSD release contains any locales with
 multi-byte LC_NUMERIC decimal points (or LC_MONETARY either, though
 that would be irrelevant to scanf) so there is no point adding the
 code to deal with something that doesn't exist there.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.13 -r1.14 src/lib/libc/stdio/vfwscanf.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 



Home | Main Index | Thread Index | Old Index