newlib-cygwin/newlib/libc
Corinna Vinschen 99d0e2341d Add __swhatbuf function from OpenBSD
To fix a long-standing setvbuf bug, import __swhatbuf function from
OpenBSD and only slightly rearrange for newlib.

	* libc/stdio/local.h (__swhatbuf_r): Declare.
	* libc/stdio/makebuf (__smakebuf_r): New function.
	(__smakebuf_r): Drop file handling code and call __smakebuf_r.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2016-03-12 23:37:01 +01:00
..
argz Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
ctype Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
errno Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
iconv Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
include Use __sputc_r inline code when building with gcc 2016-03-12 23:25:11 +01:00
locale Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
machine Enable HW interrupt setup on x86/x86_64 systems by default 2016-02-26 18:52:46 +01:00
misc Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
posix Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
reent Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
search Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
signal Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
stdio Add __swhatbuf function from OpenBSD 2016-03-12 23:37:01 +01:00
stdio64 Fix compile with GCC 5 -Werror 2016-02-12 10:16:06 -06:00
stdlib Fix compile with GCC 5 -Werror 2016-02-12 10:16:06 -06:00
string Fix compile with GCC 5 -Werror 2016-02-12 10:16:06 -06:00
sys Enable HW interrupt setup on x86/x86_64 systems by default 2016-02-26 18:52:46 +01:00
syscalls Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
time Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
unix Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
xdr Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
Makefile.am 2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org> 2011-01-05 17:18:16 +00:00
Makefile.in 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
aclocal.m4 Fix up errors in regenerated files for 2.3.0 release. 2016-01-04 12:57:31 -05:00
configure Fix up errors in regenerated files for 2.3.0 release. 2016-01-04 12:57:31 -05:00
configure.in 2014-07-04 Bin Cheng <bin.cheng@arm.com> 2014-07-04 17:21:45 +00:00
libc.texinfo Fix newlib texinfo source so 'info libc' and 'info libm' work 2015-03-16 15:02:22 +00:00
saber
sys.tex Don't include stdio64 functions in reentrant syscalls menu when not bulding stdio64. 2015-08-03 09:54:33 +01:00