[BUG] wprintf(L"%s", str) expects str to be wide

Corinna Vinschen vinschen@redhat.com
Fri Jan 11 20:07:00 GMT 2013


On Jan 11 12:02, Craig Howland wrote:
> On 01/11/2013 11:12 AM, Corinna Vinschen wrote:
> >Here's a matching patch.  I tested it under Cygwin by disabling
> >_MB_CAPABLE when building vfwprintf.c.  Please review.  If that's ok,
> >I'll check it in.
> >
> >
> >Thanks,
> >Corinna
> >
> >
> >	* vfwprintf.c (_VFWPRINTF_R): Add code to correctly handle 's'
> >	format specifier on not _MB_CAPABLE targets.  Fix a formatting
> >	glitch in _MB_CAPABLE enabled code.  Add a missing 'L' specifier.
> >[...]
> Corinna:
>      Looks good.  (Good catch on the case 'x', too.)
> [...]

I applied the patch.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat



More information about the Newlib mailing list