changeset 1558:374f08d35ab1

* include/stream.inl (set_position): Flush the output buffer before seeking the underlying file otherwise the writes ends up in the wrong location in the file.
author asl
date Mon, 29 Mar 2004 12:59:05 +0000
parents 0ef97dc5b090
children c72a9120513b
files packages/language/c/libc/stdio/current/ChangeLog
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/packages/language/c/libc/stdio/current/ChangeLog
+++ b/packages/language/c/libc/stdio/current/ChangeLog
@@ -8,6 +8,12 @@ 2004-03-29  Kelvin Lawson <klawson@ad-ho
 	CYGSTREAM_READWRITE_NOCREATE. This fixes fopen() with mode 'w+'
 	which previously did not allow file creation.
 
+2004-03-27  Andrew Lunn  <andrew.lunn@ascom.ch>
+
+	* include/stream.inl (set_position): Flush the output buffer
+	before seeking the underlying file otherwise the writes ends up in
+	the wrong location in the file.
+	
 2004-03-15  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* src/common/fileops.cxx (tmpnam): Only close if open() succeded.