On 2008-07-20, Matthew Winn <[EMAIL PROTECTED]> wrote:
> On Sun, 20 Jul 2008 00:44:48 +1000, Ben Schmidt
> <[EMAIL PROTECTED]> wrote:

> > On regular annoyance I have is that my system periodically cleans up
> > /tmp and removes Vim's temp directories, and since a long-running Vim
> > process created the directory, it assumes it's there and doesn't
> > recreate it but just gives errors.
> 
> Shouldn't it only clear out things that haven't been used for a while?
> The whole point of /tmp is that it's somewhere for short-term storage,
> not no-term storage.

I think the scenario goes like this:

   Start vim.
   Do something that causes vim to create a directory in /tmp.
   Keep vim running for a long time but don't do any operations that 
      put files into the tmp directory.
   System clean-up job runs, finds that the modification time on 
      vim's tmp directory hasn't changed in a while and deletes it.
   Try to do something in vim that needs the tmp directory.  Vim 
      already created on, but it's no longer there, so vim issues an 
      error message.

Regards,
Gary


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

Raspunde prin e-mail lui