about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-03-17 18:42:53 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-03-17 21:24:02 +0530
commitae42bbc55a9e05976269026ddabcfb917f6e922f (patch)
tree3d5c26ff77263cada4610720a1ea591c63185b1d /ChangeLog
parentea33158c96c53a64402a772186956c1f5cb556ae (diff)
downloadglibc-ae42bbc55a9e05976269026ddabcfb917f6e922f.tar.gz
glibc-ae42bbc55a9e05976269026ddabcfb917f6e922f.tar.xz
glibc-ae42bbc55a9e05976269026ddabcfb917f6e922f.zip
Change offset in fdopen only if setting O_APPEND
fdopen should only be allowed to change the offset in the file it
attaches to if it is setting O_APPEND.  If O_APPEND is already set, it
should not change the state of the handle.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index eea2ef6dd7..da6a230500 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
+	* libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
+	setting O_APPEND.
+	* libio/tst-ftell-active-handler.c (do_append_test): Add a
+	test case.
+
 	[BZ #16680]
 	* libio/fileops.c (_IO_file_open): Seek to end of file but
 	don't cache the offset.