This is the mail archive of the
ecos-cvs@sourceware.org
mailing list for the ecos project.
ecos/packages/language/c/libc/stdio/current Ch ...
- From: jlarmour at sourceware dot org
- To: ecos-cvs at ecos dot sourceware dot org
- Date: 26 Sep 2006 18:51:22 -0000
- Subject: ecos/packages/language/c/libc/stdio/current Ch ...
CVSROOT: /cvs/ecos
Module name: ecos
Changes by: jlarmour@sourceware.org 2006-09-26 18:51:22
Modified files:
packages/language/c/libc/stdio/current: ChangeLog
packages/language/c/libc/stdio/current/src/common: stream.cxx
Log message:
* src/common/stream.cxx (read): Only update position after direct
reads from I/O system so it's updated by the correct number of
bytes.
(write): Reset underlying file position if there had been
stuff read from the file left in the buffer so the file positions
are inconsistent.