Commit 0a397f1a authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist

Check home for being NULL. (#143812)

2004-06-06  Tor Lillqvist  <tml@iki.fi>

	* glib/gutils.c (g_get_any_init): Check home for being
	NULL. (#143812)
parent 9c7ae62f
2004-06-06 Tor Lillqvist <tml@iki.fi>
* glib/gutils.c (g_get_any_init): Check home for being
NULL. (#143812)
Sun Jun 6 15:23:00 2004 Pawan Chitrakr <pawan@nplinu.org>
* configure.in: Added "ne" (Nepali) in ALL_LINGUAS
......
2004-06-06 Tor Lillqvist <tml@iki.fi>
* glib/gutils.c (g_get_any_init): Check home for being
NULL. (#143812)
Sun Jun 6 15:23:00 2004 Pawan Chitrakr <pawan@nplinu.org>
* configure.in: Added "ne" (Nepali) in ALL_LINGUAS
......
2004-06-06 Tor Lillqvist <tml@iki.fi>
* glib/gutils.c (g_get_any_init): Check home for being
NULL. (#143812)
Sun Jun 6 15:23:00 2004 Pawan Chitrakr <pawan@nplinu.org>
* configure.in: Added "ne" (Nepali) in ALL_LINGUAS
......
2004-06-06 Tor Lillqvist <tml@iki.fi>
* glib/gutils.c (g_get_any_init): Check home for being
NULL. (#143812)
Sun Jun 6 15:23:00 2004 Pawan Chitrakr <pawan@nplinu.org>
* configure.in: Added "ne" (Nepali) in ALL_LINGUAS
......
2004-06-06 Tor Lillqvist <tml@iki.fi>
* glib/gutils.c (g_get_any_init): Check home for being
NULL. (#143812)
Sun Jun 6 15:23:00 2004 Pawan Chitrakr <pawan@nplinu.org>
* configure.in: Added "ne" (Nepali) in ALL_LINGUAS
......
......@@ -871,7 +871,7 @@ g_get_any_init (void)
gchar *home = g_getenv ("HOME");
/* Only believe HOME if it is an absolute path and exists */
if (g_path_is_absolute (home) && g_file_test (home, G_FILE_TEST_IS_DIR))
if (home && g_path_is_absolute (home) && g_file_test (home, G_FILE_TEST_IS_DIR))
g_home_dir = g_strdup (home);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment