From d2716f8bfd67459633f9a64e2ab1658290ee0bc0 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Mon, 17 Aug 1998 05:49:13 +0000 Subject: [PATCH] NULL terminate the arg list to g_strconcat() (thanx raph). Mon Aug 17 07:47:43 1998 Tim Janik * gtk/gtkmain.c (gtk_init): NULL terminate the arg list to g_strconcat() (thanx raph). --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtkmain.c | 2 +- 8 files changed, 36 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7f945d4e32..f24feb8436 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Aug 17 07:47:43 1998 Tim Janik + + * gtk/gtkmain.c (gtk_init): NULL terminate the arg list to g_strconcat() + (thanx raph). + Sun Aug 16 23:14:20 CDT 1998 Shawn T. Amundson * NEWS: updated for 1.1.2 diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 7f945d4e32..f24feb8436 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +Mon Aug 17 07:47:43 1998 Tim Janik + + * gtk/gtkmain.c (gtk_init): NULL terminate the arg list to g_strconcat() + (thanx raph). + Sun Aug 16 23:14:20 CDT 1998 Shawn T. Amundson * NEWS: updated for 1.1.2 diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 7f945d4e32..f24feb8436 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Mon Aug 17 07:47:43 1998 Tim Janik + + * gtk/gtkmain.c (gtk_init): NULL terminate the arg list to g_strconcat() + (thanx raph). + Sun Aug 16 23:14:20 CDT 1998 Shawn T. Amundson * NEWS: updated for 1.1.2 diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 7f945d4e32..f24feb8436 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +Mon Aug 17 07:47:43 1998 Tim Janik + + * gtk/gtkmain.c (gtk_init): NULL terminate the arg list to g_strconcat() + (thanx raph). + Sun Aug 16 23:14:20 CDT 1998 Shawn T. Amundson * NEWS: updated for 1.1.2 diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 7f945d4e32..f24feb8436 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Mon Aug 17 07:47:43 1998 Tim Janik + + * gtk/gtkmain.c (gtk_init): NULL terminate the arg list to g_strconcat() + (thanx raph). + Sun Aug 16 23:14:20 CDT 1998 Shawn T. Amundson * NEWS: updated for 1.1.2 diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 7f945d4e32..f24feb8436 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Mon Aug 17 07:47:43 1998 Tim Janik + + * gtk/gtkmain.c (gtk_init): NULL terminate the arg list to g_strconcat() + (thanx raph). + Sun Aug 16 23:14:20 CDT 1998 Shawn T. Amundson * NEWS: updated for 1.1.2 diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 7f945d4e32..f24feb8436 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Mon Aug 17 07:47:43 1998 Tim Janik + + * gtk/gtkmain.c (gtk_init): NULL terminate the arg list to g_strconcat() + (thanx raph). + Sun Aug 16 23:14:20 CDT 1998 Shawn T. Amundson * NEWS: updated for 1.1.2 diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c index 19c6d2f79f..9280eac812 100644 --- a/gtk/gtkmain.c +++ b/gtk/gtkmain.c @@ -330,7 +330,7 @@ gtk_init (int *argc, module_name[2] == 'b')) module_name = g_strdup (module_name); else - module_name = g_strconcat ("lib", module_name, ".so"); + module_name = g_strconcat ("lib", module_name, ".so", NULL); (*argv)[i] = NULL; if (g_module_supported ())