From 0860274eea43312fec891d83561013a9764c6387 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 2 Dec 2004 14:27:31 +0000 Subject: [PATCH] Don't forget to initialize g_system_config_dirs. (#160213, Frederic 2004-12-02 Matthias Clasen * glib/gutils.c (g_get_system_config_dirs): Don't forget to initialize g_system_config_dirs. (#160213, Frederic Crozat) --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-12 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ glib/gutils.c | 2 ++ 6 files changed, 27 insertions(+) diff --git a/ChangeLog b/ChangeLog index bba99ecaf..39dc77277 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-12-02 Matthias Clasen + + * glib/gutils.c (g_get_system_config_dirs): Don't forget to + initialize g_system_config_dirs. (#160213, Frederic Crozat) + Wed Dec 1 17:04:37 2004 Manish Singh * glib/gstring.h (g_string_append_c_inline): actually enable (and diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index bba99ecaf..39dc77277 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2004-12-02 Matthias Clasen + + * glib/gutils.c (g_get_system_config_dirs): Don't forget to + initialize g_system_config_dirs. (#160213, Frederic Crozat) + Wed Dec 1 17:04:37 2004 Manish Singh * glib/gstring.h (g_string_append_c_inline): actually enable (and diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index bba99ecaf..39dc77277 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +2004-12-02 Matthias Clasen + + * glib/gutils.c (g_get_system_config_dirs): Don't forget to + initialize g_system_config_dirs. (#160213, Frederic Crozat) + Wed Dec 1 17:04:37 2004 Manish Singh * glib/gstring.h (g_string_append_c_inline): actually enable (and diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index bba99ecaf..39dc77277 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2004-12-02 Matthias Clasen + + * glib/gutils.c (g_get_system_config_dirs): Don't forget to + initialize g_system_config_dirs. (#160213, Frederic Crozat) + Wed Dec 1 17:04:37 2004 Manish Singh * glib/gstring.h (g_string_append_c_inline): actually enable (and diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index bba99ecaf..39dc77277 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2004-12-02 Matthias Clasen + + * glib/gutils.c (g_get_system_config_dirs): Don't forget to + initialize g_system_config_dirs. (#160213, Frederic Crozat) + Wed Dec 1 17:04:37 2004 Manish Singh * glib/gstring.h (g_string_append_c_inline): actually enable (and diff --git a/glib/gutils.c b/glib/gutils.c index 49a3ac80d..1c2523f2a 100644 --- a/glib/gutils.c +++ b/glib/gutils.c @@ -1668,6 +1668,8 @@ g_get_system_config_dirs (void) conf_dirs = "/etc/xdg"; #endif conf_dir_vector = g_strsplit (conf_dirs, G_SEARCHPATH_SEPARATOR_S, 0); + + g_system_config_dirs = conf_dir_vector; } else conf_dir_vector = g_system_config_dirs;