69aea10936
Glib 2.8 Release notes are here: http://mail.gnome.org/archives/gnome-announce-list/2005-August/msg00048.html
13 lines
423 B
Plaintext
13 lines
423 B
Plaintext
$OpenBSD: patch-glib_gbacktrace_c,v 1.3 2005/11/13 06:22:03 marcm Exp $
|
|
--- glib/gbacktrace.c.orig Thu Aug 18 06:08:18 2005
|
|
+++ glib/gbacktrace.c Tue Aug 23 21:22:07 2005
|
|
@@ -169,7 +169,7 @@ g_on_error_stack_trace (const gchar *prg
|
|
if (!prg_name)
|
|
return;
|
|
|
|
- _g_sprintf (buf, "%u", (guint) getpid ());
|
|
+ _g_snprintf (buf, sizeof(buf), "%u", (guint) getpid ());
|
|
|
|
args[1] = (gchar*) prg_name;
|
|
args[2] = buf;
|