bin/174521: printf(1) doesn't treat extra conversion specifiers as zero (posix)

Daniel Shahaf danielsh at elego.de
Tue Dec 18 16:40:01 UTC 2012


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

From: Daniel Shahaf <danielsh at elego.de>
To: Mark Johnston <markjdb at gmail.com>
Cc: bug-followup at FreeBSD.org
Subject: Re: bin/174521: printf(1) doesn't treat extra conversion
	specifiers as zero (posix)
Date: Tue, 18 Dec 2012 18:27:49 +0200

 Mark Johnston wrote on Mon, Dec 17, 2012 at 23:12:50 -0500:
 > The fix for this is pretty easy - a patch is attached.
 
 Confirmed (against an old 9.0 tree -- that's what I had handy).
 
 FWIW, FreeBSD 8.2 is not affected:
 
 % printf %u%u 15; echo 
 150
 % uname -r
 8.2-RELEASE
 
 Thanks,
 
 Daniel


More information about the freebsd-bugs mailing list