src/newlib ChangeLog libc/include/stdio.h libc ...

corinna@sourceware.org corinna@sourceware.org
Wed Oct 23 10:04:00 GMT 2013


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sourceware.org	2013-10-23 10:04:43

Modified files:
	newlib         : ChangeLog 
	newlib/libc/include: stdio.h 
	newlib/libc/include/sys: config.h reent.h 
	newlib/libc/stdio: fflush.c fmemopen.c fopencookie.c funopen.c 
	                   fvwrite.c local.h open_memstream.c stdio.c 
	newlib/libc/stdio64: stdio64.c 

Log message:
	* libc/include/stdio.h (funopen): Change prototype of
	__readfn and __writefn parameter to match new definition of
	FILE's _read and _write methods.
	(_funopen_r): Ditto.
	(funopen): Ditto.
	(_funopen_r): Ditto.
	* libc/include/sys/config.h (_READ_WRITE_BUFSIZE_TYPE) Define
	as type int if not already defined.  Add comment to explain.
	* libc/include/sys/reent.h: Include stddef.h.
	(struct __sFILE): Change type of last parameter in declaration
	of _read and _write methods to _READ_WRITE_BUFSIZE_TYPE.
	(struct __sFILE64): Ditto.
	* libc/stdio/local.h (__sread): Declare with last parameter set
	to _READ_WRITE_BUFSIZE_TYPE.
	(__seofread): Ditto.
	(__swrite): Ditto.
	(__swrite64): Ditto.
	* libc/stdio/fvwrite.c (__sfvwrite_r): Change type of local
	variables w and s to _READ_WRITE_RETURN_TYPE.
	* libc/stdio/fflush.c (__sflush_r): Change type of local variables
	n and t to _READ_WRITE_BUFSIZE_TYPE and _READ_WRITE_RETURN_TYPE.
	Add local variables flags to keep _flags value.
	* libc/stdio/fmemopen.c (fmemreader): Align to above change.
	(fmemwriter): Ditto.
	* libc/stdio/fopencookie.c (fcreader): Ditto.
	(fcwriter): Ditto.
	* libc/stdio/funopen.c (funread): Ditto.
	(funwrite): Ditto.
	(funreader): Ditto.
	(funwriter): Ditto.
	* libc/stdio/open_memstream.c (memwriter): Ditto.
	* libc/stdio/stdio.c (__sread): Ditto.
	(__seofread): Ditto.
	(__swrite): Ditto.
	* libc/stdio64/stdio64.c (__swrite64): Ditto.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/ChangeLog.diff?cvsroot=src&r1=1.1836&r2=1.1837
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/include/stdio.h.diff?cvsroot=src&r1=1.64&r2=1.65
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/include/sys/config.h.diff?cvsroot=src&r1=1.64&r2=1.65
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/include/sys/reent.h.diff?cvsroot=src&r1=1.56&r2=1.57
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/fflush.c.diff?cvsroot=src&r1=1.18&r2=1.19
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/fmemopen.c.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/fopencookie.c.diff?cvsroot=src&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/funopen.c.diff?cvsroot=src&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/fvwrite.c.diff?cvsroot=src&r1=1.16&r2=1.17
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/local.h.diff?cvsroot=src&r1=1.37&r2=1.38
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/open_memstream.c.diff?cvsroot=src&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/stdio.c.diff?cvsroot=src&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio64/stdio64.c.diff?cvsroot=src&r1=1.3&r2=1.4



More information about the Newlib-cvs mailing list