3 Oct 2002 13:07
Re: [Bug 700] New: create temp files in $TMP and with fixed extension
Xavier Nodet <xavier.nodet <at> free.fr>
2002-10-03 11:07:58 GMT
2002-10-03 11:07:58 GMT
On Sun, 22 Sep 2002 15:34:15 -0700 bugzilla-daemon <at> users.sourceforge.net wrote: > http://mahogany.sourceforge.net/cgi-bin/show_bug.cgi?id=700 > temporary files are currently created in the root of the current drive under > Windows and also have meaningless/random extensions because we use tmpnam() for > them -- use wxFileName::CreateTemp() instead. Unless I missed something, neither wxFileName::CreateTemp() or the Win32 API allow to specify an extension for temporary files. Only the prefix (i.e. the directory where the file is stored) can be specified. -- -- Xavier Nodet "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, 1759. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
Alternatively, would it be enough to simply not set LOCAL->hasbody to T in
such case? Sorry to ask you about all this but I still haven't been able to
reproduce the bug myself. To be honest, by now I even forgot what was the
best way to try to reproduce it, could you please remind me?
Thanks a lot,
VZ
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
RSS Feed