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: corinna at sourceware dot org
- To: newlib-cvs at sourceware dot org
- Date: 30 Oct 2009 08:26:42 -0000
- Subject: src/newlib ChangeLog libc/stdio/fflush.c
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2009-10-30 08:26:41
Modified files:
newlib : ChangeLog
newlib/libc/stdio: fflush.c
Log message:
* libc/stdio/fflush.c (_fflush_r): Store old errno to check for
low-level seek error condition. Restore old errno in case of
success. Don't use new position after seek as error condition,
rather check for return value of -1 and errno. Handle EINVAL
just like ESPIPE. Only set fp->_offset if errno is 0.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/ChangeLog.diff?cvsroot=src&r1=1.1422&r2=1.1423
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/fflush.c.diff?cvsroot=src&r1=1.14&r2=1.15