Please sign in to comment.
win32: use GetTempPath for g_tmp_dir
%TMPDIR%, %TMP%, %TEMP% and get_windows_directory_root() were checked in that order. However, on both XP an 7 %TMPDIR% does not exist. Also, this behavior does not correspond with GetTempPath() which returns one of %TMP%, %TEMP%, %USERPROFILE% or the Windows directory (not the same as get_windows_directory_root()!), checked in that order. So simply use GetTempPath() instead.
- Loading branch information...