Alexander Schrijver wrote:

> Vim doesn't seem to do file locking. What is the reason for this?

It doesn't work on every system.  Very few people ask for it, and when
it has been added it will very likely cause new problems.  The net win
will be small.

> I also noticed this on the/a todo list (from 2004):
> 
> 8   Add file locking.  Lock a file when starting to edit it with flock()
> or
>     fcntl().  This patch has advisory file locking while reading/writing
>     the
>         file: ~/vim/patches/kahn_file_locking .
> 
> Will this diff be applied at some point?

That patch is very old.  And only works for Unix systems.  And it's
missing a configure check.

-- 
To be rich is not the end, but only a change of worries.

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

Reply via email to