This is the mail archive of the
newlib-cvs@sourceware.org
mailing list for the newlib project.
src/newlib ChangeLog libc/stdio/fflush.c
- From: ericb at sourceware dot org
- To: newlib-cvs at sourceware dot org
- Date: 22 Jul 2009 02:17:13 -0000
- Subject: src/newlib ChangeLog libc/stdio/fflush.c
CVSROOT: /cvs/src
Module name: src
Changes by: ericb@sourceware.org 2009-07-22 02:17:13
Modified files:
newlib : ChangeLog
newlib/libc/stdio: fflush.c
Log message:
Avoid a fault from locking a closed standard file.
* libc/stdio/fflush.c (_fflush_r): Give up early if stream has
been previously closed.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/ChangeLog.diff?cvsroot=src&r1=1.1373&r2=1.1374
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/fflush.c.diff?cvsroot=src&r1=1.13&r2=1.14