* acconfig.h (_FVWRITE_IN_STREAMIO): Undefine.

* newlib.hin (_FVWRITE_IN_STREAMIO): Undefine.
	* configure.in (--disable-newlib-fvwrite-in-streamio): New option.
	* configure: Regenerated.
	* libc/stdio/fputs.c (_fputs_r): Use _FVWRITE_IN_STREAMIO to
	control __sfvwrite_r.  Add alternative implementation.
	* libc/stdio/fputws.c (_fputws_r): Ditto.
	* libc/stdio/fwrite.c (_fwrite_r): Ditto.
	* libc/stdio/puts.c (_puts_r): Ditto.
	* libc/stdio/vfprintf.c (__ssputs_r, __sfputs_r): New function.
	(_VFPRINTF_R): Use _FVWRITE_IN_STREAMIO to control vector buffer.
	(__SPRINT): Use _FVWRITE_IN_STREAMIO to control macro definition.
	* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Use _FVWRITE_IN_STREAMIO
	to control vector buffer.
This commit is contained in:
Corinna Vinschen
2013-03-27 09:38:39 +00:00
parent 1ebc8da242
commit 409c27f834
11 changed files with 354 additions and 11 deletions

View File

@ -54,6 +54,9 @@
/* Define if the platform long double type is equal to double. */
#undef _LDBL_EQ_DBL
/* Define if ivo supported in streamio. */
#undef _FVWRITE_IN_STREAMIO
@BOTTOM@
/*