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: libc/stdio-common vfprintf.c


On Fri, May 04, 2007 at 11:28:50AM +0200, Aurelien Jarno wrote:
> drepper@sourceware.org a écrit :
> > CVSROOT:	/cvs/glibc
> > Module name:	libc
> > Changes by:	drepper@sourceware.org	2007-05-02 08:15:51
> > 
> > Modified files:
> > 	stdio-common   : vfprintf.c 
> > 
> > Log message:
> > 	(process_string_arg): Use a VLA rather than fixed length array for ignore.
> > 
> > Patches:
> > http://sourceware.org/cgi-bin/cvsweb.cgi/libc/stdio-common/vfprintf.c.diff?cvsroot=glibc&r1=1.136&r2=1.137
> > 
> 
> This patch is probably wrong as __mbsnrtowcs still uses the fixed size
> 1024. I guess it should use ignore_size instead.

That was in my original patch too.
But most probably it doesn't matter, at least as long as for no locale
one source char produces more than one wchar_t.

	Jakub


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