This is the mail archive of the
newlib-cvs@sourceware.org
mailing list for the newlib project.
src/newlib ChangeLog libc/stdio/fflush.c libc/ ...
- From: ericb at sourceware dot org
- To: newlib-cvs at sourceware dot org
- Date: 4 Mar 2008 02:22:36 -0000
- Subject: src/newlib ChangeLog libc/stdio/fflush.c libc/ ...
CVSROOT: /cvs/src
Module name: src
Changes by: ericb@sourceware.org 2008-03-04 02:22:36
Modified files:
newlib : ChangeLog
newlib/libc/stdio: fflush.c ftell.c
newlib/libc/stdio64: ftello64.c
Log message:
Fix ftell bug after ungetc.
* libc/stdio/ftell.c (_ftell_r): Don't flush ungetc buffer on
ftell.
* libc/stdio64/ftello64.c (_ftello64_r): Likewise.
* libc/stdio/fflush.c (_fflush_r): Clear unget buffer when
repositioning underlying fd offset.
-------------------------------------------------------------------
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/ChangeLog.diff?cvsroot=src&r1=1.1127&r2=1.1128
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/fflush.c.diff?cvsroot=src&r1=1.11&r2=1.12
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/ftell.c.diff?cvsroot=src&r1=1.12&r2=1.13
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio64/ftello64.c.diff?cvsroot=src&r1=1.8&r2=1.9