Re: incorrect "still running" swap file message
- On Sat, Sep 14, 2013 at 11:01:45PM +0200, Bram Moolenaar wrote:
>I don't hit it every day, but it's not uncommon after a reboot to hit
> Unfortunately Linux recycles process IDs. It does not happen very often
> that Vim makes a mistake with that.
this problem. Any OS (not just Linux) will reuse process IDs after
rebooting, which is a more common situation than wrapping of PIDs.
> The way you discovered that theThat's true--there's no cross-platform way to detect whether there is
> process is not Vim is not a generic solution. On top of that, it could
> be Vim but another process than the one that created the swap file.
another Vim process running. It's particularly impossible on networked
filesystems. Since the heuristic is often wrong, I would personally
prefer that Vim not try to detect whether another Vim process is
> Generally, I don't think it's worth solving. Better avoid that Vim diesI find the current behavior moderately annoying, but I won't press the
> and leave swap files behind.
issue. Thanks for your time and consideration.
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
For more options, visit https://groups.google.com/groups/opt_out.