g_get_tmp_dir(): Clean up envars
authorRyan Lortie <desrt@desrt.ca>
Mon, 29 Jul 2013 14:00:20 +0000 (10:00 -0400)
committerRyan Lortie <desrt@desrt.ca>
Sun, 4 Aug 2013 15:26:05 +0000 (17:26 +0200)
commitc2352409051df49a08d9dced5b69ede434e90723
treef9e479421f5fa5593ffb38585b6c7e86a48e9cd0
parent05d6175ded6ce5f1f7721e2ea90792d348505d89
g_get_tmp_dir(): Clean up envars

On UNIX, we should only ever be looking at TMPDIR.

On Windows, we should only ever look at TEMP.

Also, clean up the documentation to better describe what is actually
happening.  The previous docs may have left someone confused about why
this function returns "/var/tmp" on Solaris, even with no TMPDIR set.

https://bugzilla.gnome.org/show_bug.cgi?id=705075
glib/gutils.c