[mapserver-dev] RFC 66 - Better handling of temporary files

Jeff McKenna jmckenna at gatewaygeomatics.com
Mon Jan 17 12:30:46 EST 2011


Hi Alan,


I can test it on Windows...or are you looking for a more low level 
developer?

-jeff



On 11-01-17 12:31 PM, Alan Boudreault wrote:
> Well the best thing would have been to use mkstemp() and something similar on
> windows that also returns a file handle. However, Windows doesn't seem to have
> this kind of function. We'll have to use GetTempFileName(), which only return
> a *unique* file name. We have to create the file ourself. This is not as safe
> as mkstemp(). So, something I am thinking about is to create a new function
> that will use mkstemp() on Linux/Mac and GetTempFileName() + fopen(..) on
> Windows. I'm afraid I don't have any Windows dev environment to test it. Could
> anyone help me on this when I finish the Linux part?
>


More information about the mapserver-dev mailing list