diff packages/language/c/libc/stdio/current/ChangeLog @ 2304:543067294b88

* 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.
author jlarmour
date Tue, 26 Sep 2006 18:51:22 +0000
parents 6e1b638b0c53
children d68e3769e3a1
line wrap: on
line diff
--- a/packages/language/c/libc/stdio/current/ChangeLog
+++ b/packages/language/c/libc/stdio/current/ChangeLog
@@ -1,3 +1,12 @@
+2006-09-26  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* 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.
+
 2005-07-22  Andrew Lunn  <andrew.lunn@ascom.ch>
 
 	* src/common/fopen.cxx (fopen): Default the open mode to Read
@@ -484,7 +493,7 @@ 2000-05-02  Jonathan Larmour  <jlarmour@
 // -------------------------------------------
 // This file is part of eCos, the Embedded Configurable Operating System.
 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
-// Copyright (C) 2004 eCosCentric Limited
+// Copyright (C) 2004, 2006 eCosCentric Limited
 //
 // eCos is free software; you can redistribute it and/or modify it under
 // the terms of the GNU General Public License as published by the Free
@@ -508,9 +517,6 @@ 2000-05-02  Jonathan Larmour  <jlarmour@
 //
 // This exception does not invalidate any other reasons why a work based on
 // this file might be covered by the GNU General Public License.
-//
-// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
-// at http://sources.redhat.com/ecos/ecos-license/
 // -------------------------------------------
 //####ECOSGPLCOPYRIGHTEND####
 //===========================================================================