diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-04-11 09:43:16 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-04-11 09:43:17 +0200 |
commit | 32d85c116dd07b25f58b24204e7b05489f06fed4 (patch) | |
tree | f4ab2240889915cc7d912f98e0b69df701cf40e0 /ChangeLog | |
parent | 221710af7ead55942e24f225b18c81dbe07ab08f (diff) | |
download | glibc-32d85c116dd07b25f58b24204e7b05489f06fed4.tar glibc-32d85c116dd07b25f58b24204e7b05489f06fed4.tar.gz glibc-32d85c116dd07b25f58b24204e7b05489f06fed4.tar.bz2 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-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |