This is the mail archive of the
newlib-cvs@sourceware.org
mailing list for the newlib project.
src/newlib ChangeLog libc/stdio/fileno.c
- From: corinna at sourceware dot org
- To: newlib-cvs at sourceware dot org
- Date: 9 Jul 2012 12:13:16 -0000
- Subject: 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