[PATCH 0/7] Fix broken file paths on Win32

Lubomir I. Ivanov neolit123 at gmail.com
Thu Dec 19 10:10:55 UTC 2013

On 19 December 2013 20:03, Thiago Macieira <thiago at macieira.org> wrote:
> On quinta-feira, 19 de dezembro de 2013 19:47:39, Lubomir I. Ivanov wrote:
>> > The default temp path is C:\Users\<userid>\Application Data or something.
>> Qt seems to return c:\windows\temp in our webservices code.
>> which is fine of course and is portable back to the win95/98 days.
> It uses GetTempPathW, which is documented to use %TMP% and %TEMP%, which you
> might have set. My Windows 8 laptop doesn't, so it falls back to

haven't seen win8 even on a screen yet...
win7 definitely has TEMP/TMP, as described here:

older versions and XP also had them:

i don't know why win8 is missing these env. variables, but that breaks
~18 years of compatibility and i don' think there is any point of
doing that. :\


More information about the subsurface mailing list