Re: tmpdir on windows

2011-08-22 Thread Bruno Haible
that on on mingw and msvc systems, P_tmpdir is defined to _P_tmpdir always. - The function get_tmp_dir is overly complicated. We can use a large enough buffer. - There is no need to write GetTempPathA instead of GetTempPath. Gnulib assumes that the macro UNICODE is not defined.

tmpdir on windows

2011-08-20 Thread John Darrington
In PSPP we are using the path_search function from the tmpdir module to determine the path for temporary files. Windows users have complained that it puts temporary files in places they consider to be inappropriate. I did a bit of research, and found that the "normal" path on windows depends on