src/newlib ChangeLog libc/stdio/fileno.c

corinna@sourceware.org corinna@sourceware.org
Mon Jul 9 12:13:00 GMT 2012


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sourceware.org	2012-07-09 12:13:16

Modified files:
	newlib         : ChangeLog 
	newlib/libc/stdio: fileno.c 

Log message:
	* libc/stdio/fileno.c (fileno): Check if f is a valid stream.  If not,
	return -1 and set errno to EBADF per POSIX.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/ChangeLog.diff?cvsroot=src&r1=1.1685&r2=1.1686
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/fileno.c.diff?cvsroot=src&r1=1.6&r2=1.7



More information about the Newlib-cvs mailing list