NetBSD-Bugs archive

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

PR/60708 CVS commit: [netbsd-11] src/lib/libc/stdio



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

From: "Martin Husemann" <martin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/60708 CVS commit: [netbsd-11] src/lib/libc/stdio
Date: Wed, 14 Oct 2026 18:30:55 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Wed Oct 14 18:30:55 UTC 2026
 
 Modified Files:
 	src/lib/libc/stdio [netbsd-11]: vfwprintf.c
 
 Log Message:
 Pull up following revision(s) (requested by kre in ticket #531):
 
 	lib/libc/stdio/vfwprintf.c: revision 1.42,1.43
 
 PR lib/60708 - include 'F' format when fetching %n$ args.
 
 PR bin/60496 - fix printf(3) with non-single-byte decimal point & thousands sep
 
 These fixes are relatively simple, and should be safe -- I have had them
 in my source tree for ages now.
 
 The fix for the decimal point case is taken more or less directly from
 an old FreeBSD fix for the same issue.
 
 The thousands separator case is different - our code and FreeBSD's have
 diverged so much in this area that simply using their method would have
 been more trouble than it was worth, so I reimplemented it differently
 to better fit our code model.
 
 There are ATF tests that go with this, which will be committed one day,
 but have been waiting on strfmon(3) fixes, which are related.   I decided
 these code changes should wait no longer.  The tests will come later.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.41 -r1.41.4.1 src/lib/libc/stdio/vfwprintf.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