[PATCH newlib]Bring back wchar io files for --disable-newlib-wide-orient option

Corinna Vinschen vinschen@redhat.com
Mon Aug 12 11:32:00 GMT 2013


On Aug 12 09:55, bin.cheng wrote:
> Hi,
> 
> When I introduced configuration option "--disable-newlib-wide-orient", I
> removed the build of wchar's io files like getwc/putwc/fgetwc/fputwc, etc..
> This is inappropriate because: A) wchar's IO is not same thing with wide
> orientation, it should work even if wide orientation is disabled (though
> these io function would not set file orientation any more).  B) C++ iostream
> depends on wchar's IO functions even it's not used explicitly by user
> program.
> 
> This patch brings these wchar's IO files back.  I built newlib with/without
> the option and ran gcc regression test with the patch.  Is it OK?
> 
> Thanks.
> bin
> 
> 2013-08-12  Bin Cheng  <...>
> 
> 	* libc/configure.in (--enable-newlib-wchar-orient): Remove.
> 	* libc/configure: Regenerated.
> 	* libc/stdio/Makefile.am (NEWLIB_WIDE_ORIENT): Remove.
> 	* libc/stdio/Makefile.in: Regenerated.

Applied.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20130812/5959f3d5/attachment.sig>


More information about the Newlib mailing list