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

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

On 19 December 2013 20:10, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
> 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:
> http://technet.microsoft.com/en-us/library/dd560744(v=ws.10).aspx
> older versions and XP also had them:
> http://wsh2.uw.hu/ch07c.html
> 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. :\

actually i do see them here on the screenshots:
so it could be sub-version specific...

on the other hand if TEMP/TMP point to the user folder (above example)
and a non-US user name then our webservices code will not work because
of zip_open() :\.


More information about the subsurface mailing list