Gurusamy Sarathy <[EMAIL PROTECTED]> writes:
>On Mon, 02 Jun 2003 10:33:15 BST, Nick Ing-Simmons wrote:
>>What has changed recently is PerlIO_tmpfile() now calls File::Temp.
>
>This is not really a good idea on Windows, since File::Temp is
>far less than ideal there.  I've patched it up in change#19667 to
>do it using Win32 APIs instead.  I'd say File::Temp should use
>the native method now. :)
>
>I'd argue that we shouldn't use File::Temp for other platforms
>either due to the bloat factor.  I doubt there are any platforms
>that don't support open(f, O_CREAT|O_EXCL|O_RDWR, 0600), which
>is really the only thing that is needed to write a functional
>mkstemp().

If that is so wonderously portable then why does change#19667 not 
use mkstemp() for Win32?

-- 
Nick Ing-Simmons
http://www.ni-s.u-net.com/

Reply via email to