On Thu, 3 Oct 2002 14:32:25 +0200 (EET) Nerijus Baliunas 
<[EMAIL PROTECTED]> wrote:

> On Thu, 3 Oct 2002 13:07:58 +0200 Xavier Nodet <[EMAIL PROTECTED]> wrote:

> XN> > temporary files are currently created in the root of the current drive under 
> XN> > Windows and also have meaningless/random extensions because we use tmpnam() 
>for 
> XN> > them -- use wxFileName::CreateTemp() instead.
> XN> 
> XN> Unless I missed something, neither wxFileName::CreateTemp() or the Win32
> XN> API allow to specify an extension for temporary files. Only the prefix
> XN> (i.e. the directory where the file is stored) can be specified.

> You can add extension to temporary file yourself

I'm not so sure: we would not be guaranteed to have a fileName that does
not already exist.

-- 
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
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to