gutils.c



Hi,

At line 874 of gutils.c:

if (g_path_is_absolute (home) && g_file_test (home, G_FILE_TEST_IS_DIR))

g_path_is_absolute may give a GLib-CRITICAL since g_getenv ("HOME") may
return null, at least on my winxp. How about changing it to:

if (home && g_path_is_absolute (home) && g_file_test (home,
G_FILE_TEST_IS_DIR))

Cheers,
Ivan.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]