69aea10936
Glib 2.8 Release notes are here: http://mail.gnome.org/archives/gnome-announce-list/2005-August/msg00048.html
22 lines
683 B
Plaintext
22 lines
683 B
Plaintext
$OpenBSD: patch-glib_gstrfuncs_c,v 1.3 2005/11/13 06:22:03 marcm Exp $
|
|
--- glib/gstrfuncs.c.orig Mon Sep 26 07:47:16 2005
|
|
+++ glib/gstrfuncs.c Sun Oct 2 07:38:59 2005
|
|
@@ -1209,7 +1209,7 @@ g_strerror (gint errnum)
|
|
g_static_private_set (&msg_private, msg, g_free);
|
|
}
|
|
|
|
- _g_sprintf (msg, "unknown error (%d)", errnum);
|
|
+ _g_snprintf (msg, 64, "unknown error (%d)", errnum);
|
|
|
|
errno = saved_errno;
|
|
return msg;
|
|
@@ -1359,7 +1359,7 @@ extern const char *strsignal(int);
|
|
g_static_private_set (&msg_private, msg, g_free);
|
|
}
|
|
|
|
- _g_sprintf (msg, "unknown signal (%d)", signum);
|
|
+ _g_snprintf (msg, 64, "unknown signal (%d)", signum);
|
|
|
|
return msg;
|
|
}
|