This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]