On Fri, Feb 20, 2009 at 10:16, Tony Mechelynck
<[email protected]> wrote:

On 20/02/09 05:45, Bram Moolenaar wrote:

>> Changing this behavior will not be easy, so you will have to come up
>> with some kind of proof that the current mechanism may fail.

> Also, what about the case when a script might use tempname() in order to
> get a unique name for a directory? If you (Matt) leave the file lying
> around, directory creation will IIUC be impossible, which breaks
> compatibility with existing behaviour.

We recently discussed the security issues of temporary files on this
list.  Having functions that only return the name of a temporary files
is insufficient.  You need functions that return the actual file
handle to be secure (along with a bunch of other constraints).  I
realize that this isn't something that can be fixed in a simple manner
in VimL.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui