mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-05 23:48:44 +02:00
Use g_vasprintf() and g_string_append_len(), thus enabling embedded nuls
2003-06-06 Matthias Clasen <maclas@gmx.de> * glib/gstring.c (g_string_append_printf_internal): Use g_vasprintf() and g_string_append_len(), thus enabling embedded nuls in the result of g_string_printf(). (#92492, Owen Taylor) * tests/string-test.c: Add a test for embedded nuls in the result of g_string_printf().
This commit is contained in:
committed by
Matthias Clasen
parent
53efcd835d
commit
cc777da9c1
@@ -1,5 +1,12 @@
|
||||
2003-06-06 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gstring.c (g_string_append_printf_internal): Use
|
||||
g_vasprintf() and g_string_append_len(), thus enabling embedded
|
||||
nuls in the result of g_string_printf(). (#92492, Owen Taylor)
|
||||
|
||||
* tests/string-test.c: Add a test for embedded nuls in the
|
||||
result of g_string_printf().
|
||||
|
||||
* glib/gprintf.[ch]: Synchronize argument names with headers and docs.
|
||||
(g_vasprintf): An implementation of vasprintf(), code was lifted
|
||||
from g_strdup_vprintf(). (#112365)
|
||||
|
Reference in New Issue
Block a user