[PATCH] stdio-common/vfprintf.c: Remove magic number 32.

Carlos O'Donell carlos@redhat.com
Mon May 8 20:14:00 GMT 2017


On 05/04/2017 12:26 PM, Carlos O'Donell wrote:
> I was looking at modifying some of this code for a bug I was working
> on and it was super annoying that the 32 character buffer is hardcoded
> everywhere. This patch simply hoists this into a macro EXTSIZ.
> 
> I'll check this in within 24h if nobody objects.
> 
> 2017-05-04  Carlos O'Donell  <carlos@redhat.com>
> 
> 	* stdio-common/vfprintf.c (EXTSIZ): Define.
> 	(vfprintf): Use EXTSIZ.
> 	(printf_positional): Likewise.

Checked in as commit 7224e32d7be41b39358defc0e33d2737307aa06a.

-- 
Cheers,
Carlos.



More information about the Libc-alpha mailing list