This is the mail archive of the newlib-cvs@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src/newlib ChangeLog libc/stdio/fileno.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]