After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 164446 - g_string_(append_)?vprintf is missing
g_string_(append_)?vprintf is missing
Status: RESOLVED DUPLICATE of bug 57693
Product: glib
Classification: Platform
Component: general
2.6.x
Other All
: Normal enhancement
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2005-01-18 10:34 UTC by Mathias Hasselmann (IRC: tbf)
Modified: 2011-02-18 16:14 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
Implementation of the missing functions. (2.07 KB, patch)
2005-01-18 10:36 UTC, Mathias Hasselmann (IRC: tbf)
none Details | Review

Description Mathias Hasselmann (IRC: tbf) 2005-01-18 10:34:35 UTC
Please describe the problem:
GString already offers the convenience functions "g_string_printf" and
"g_string_append_printf", but misses the va_list counterparts "g_string_vprintf"
and "g_string_append_vprintf". The attached patch solves this problem.

Steps to reproduce:
grep vprintf /usr/include/glib-2.0/glib/gstring.h

Actual results:
Empty output.

Expected results:
The following output:

void         g_string_vprintf           (GString         *string,
void         g_string_append_vprintf    (GString         *string,


Does this happen every time?
Yes.

Other information:
Comment 1 Mathias Hasselmann (IRC: tbf) 2005-01-18 10:36:38 UTC
Created attachment 36166 [details] [review]
Implementation of the missing functions.
Comment 2 Dominic Lachowicz 2006-03-27 13:47:45 UTC
Duplicate of bug 57693, whose patch implements a few more functions too. Thanks.

*** This bug has been marked as a duplicate of 57693 ***