561f316f27
- don't use the local pcre, but use pcre from ports with tweaks from wilfried@ (pcre and static libs) ok steven@
13 lines
430 B
Plaintext
13 lines
430 B
Plaintext
$OpenBSD: patch-glib_gbacktrace_c,v 1.5 2007/10/24 22:29:03 jasper Exp $
|
|
--- glib/gbacktrace.c.orig Sun Sep 16 18:28:33 2007
|
|
+++ glib/gbacktrace.c Tue Oct 2 20:47:04 2007
|
|
@@ -167,7 +167,7 @@ g_on_error_stack_trace (const gchar *prg_name)
|
|
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;
|