about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorDavid Svoboda <svoboda@cert.org>2014-04-02 05:13:02 -0400
committerMike Frysinger <vapier@gentoo.org>2014-04-03 18:23:57 -0400
commit1c21d115e3e47cd66007341de4bae5c4b0a2d547 (patch)
treea5fa2bf5c51461c06b2438ae16580aa3bd324bc4 /ChangeLog
parentfcccd51286acbf9c19ac57ab7143e257d58323fd (diff)
downloadglibc-1c21d115e3e47cd66007341de4bae5c4b0a2d547.tar.gz
glibc-1c21d115e3e47cd66007341de4bae5c4b0a2d547.tar.xz
glibc-1c21d115e3e47cd66007341de4bae5c4b0a2d547.zip
manual: clarify buffer behavior in getline [BZ #5666]
If the user has requested automatic buffer creation, getline may create
it and not free things when an error occurs.  That means the user is
always responsible for calling free() regardless of the return value.

The current documentation does not explicitly cover this which leaves it
slightly ambiguous to the reader.  So clarify things.

URL: https://sourceware.org/bugzilla/show_bug.cgi?id=5666
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7a1c10620a..da8ea6d06f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-04-03  David Svoboda  <svoboda@cert.org>
+
+	[BZ #5666]
+	* manual/stdio.texi (Line-Oriented Input): Document buffer allocation
+	explicitly.
+
 2014-04-03  Roland McGrath  <roland@hack.frob.com>
 
 	* elf/dl-unmap-segments.h: New file.