# HG changeset patch # User asl # Date 1080565145 0 # Node ID 374f08d35ab14f6ec615ebb395897612a92bf871 # Parent 0ef97dc5b090f2d54c747f6bd8625fe6c9b50bc8 * 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. diff --git a/packages/language/c/libc/stdio/current/ChangeLog b/packages/language/c/libc/stdio/current/ChangeLog --- 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 + + * 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 * src/common/fileops.cxx (tmpnam): Only close if open() succeded.