mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
feature TMPDIR env variable.
This commit is contained in:
parent
acc1c38efe
commit
d59147e308
@ -189,6 +189,8 @@ g_get_any_init (void)
|
||||
{
|
||||
struct passwd *pw;
|
||||
|
||||
g_tmp_dir = g_strdup (getenv ("TMPDIR"));
|
||||
if (!g_tmp_dir)
|
||||
g_tmp_dir = g_strdup (getenv ("TMP"));
|
||||
if (!g_tmp_dir)
|
||||
g_tmp_dir = g_strdup (getenv ("TEMP"));
|
||||
|
Loading…
Reference in New Issue
Block a user