]> git.ipfire.org Git - thirdparty/glibc.git/commit
Fix file descriptor position after fclose
authorUlrich Drepper <drepper@gmail.com>
Sat, 14 May 2011 01:08:45 +0000 (02:08 +0100)
committerPetr Baudis <pasky@ucw.cz>
Thu, 26 May 2011 23:28:47 +0000 (01:28 +0200)
commit82c938203add9de265744987c8f1efa454d80461
treefc061d2bbc96e67cb549fbf624e5ca9443d6e1d6
parentb77931ad9f5661f23fcb236eac7ec1f8b0c94bff
Fix file descriptor position after fclose

fclose should leave the file descriptor position after the last read
or written byte.

(cherry picked from commit fcabc0f8b185f9e0a9289720be5ede6c39b3bf21)
ChangeLog
libio/Makefile
libio/bug-fclose1.c [new file with mode: 0644]
libio/fileops.c