diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-05-13 21:08:45 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-05-13 21:08:45 -0400 |
commit | fcabc0f8b185f9e0a9289720be5ede6c39b3bf21 (patch) | |
tree | caaf6f36c3e13a77ab677c5049dfa0f5922bf021 /ChangeLog | |
parent | 320a5dc07b907b1e640fd11ce49a04aa2b367711 (diff) | |
download | glibc-fcabc0f8b185f9e0a9289720be5ede6c39b3bf21.tar.gz |
Fix file descriptor position after fclose
fclose should leave the file descriptor position after the last read
or written byte.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +2011-05-13 Ulrich Drepper <drepper@gmail.com> + + [BZ #12724] + * libio/fileops.c (_IO_new_file_close_it): Always flush when + currently writing and seek to current position when not. + * libio/Makefile (tests): Add bug-fclose1. + * libio/bug-fclose1.c: New file. + 2011-05-12 Ulrich Drepper <drepper@gmail.com> [BZ #12511] |