summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-04-11 09:43:16 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-04-11 09:43:17 +0200
commit32d85c116dd07b25f58b24204e7b05489f06fed4 (patch)
treef4ab2240889915cc7d912f98e0b69df701cf40e0 /ChangeLog
parent221710af7ead55942e24f225b18c81dbe07ab08f (diff)
downloadglibc-32d85c116dd07b25f58b24204e7b05489f06fed4.tar.gz
glibc-32d85c116dd07b25f58b24204e7b05489f06fed4.tar.xz
glibc-32d85c116dd07b25f58b24204e7b05489f06fed4.zip
alloc_buffer: Return unqualified pointer type in alloc_buffer_next
alloc_buffer_next is useful for peeking to the remaining part of the
buffer and update it, with subsequent allocation (once the length
is known) using alloc_buffer_alloc_bytes.  This is not as robust
as the other interfaces, but it allows using alloc_buffer with
string-writing interfaces such as snprintf and ns_name_ntop.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fe40b9568f..1d0ba7165c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2019-04-11  Florian Weimer  <fweimer@redhat.com>
+
+	* include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
+	comment.
+	(alloc_buffer_next): Change return type to non-const.  Update
+	comment.
+
 2019-04-10  TAMUKI Shoichi  <tamuki@linet.gr.jp>
 
 	* manual/time.texi (Formatting Calendar Time): Add missing percent