[PATCH] argp: do not call _IO_fwide() if _LIBC is not defined

Joseph Myers joseph@codesourcery.com
Wed Nov 28 17:10:00 GMT 2018


On Wed, 28 Nov 2018, Zack Weinberg wrote:

> I'd also point out that the portable outside-libc version might be
> advised to use fwide() here, the public equivalent of _IO_fwide(),
> instead of just assuming the stream is narrow-oriented.

Yes.  (But that's not a requirement for this patch, which could be applied 
as-is, subject to a glibc testsuite run, if indeed it matches the gnulib 
code.)

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list