59547RE: windows bug: filewritable() returns 0 if we use it on the current script being read
- Nov 3, 2010Craig Barkhouse wrote:
> Assuming you don't want permissive sharing when doing actualAlthough I haven't followed exactly what the OP is proposing,
> I/O (I argue above that you don't), I question the value of
> changing mch_access() in the proposed way. The point of
> mch_access() is to give you a predictor of what types of
> access will likely work. If the access check tells you that
> opening the file for write will work, but then when you
> actually open it for write (using realistic sharing values)
> it fails, isn't this worse than what we have now?
what Craig says is correct. Allowing multiple writers to the
same file is only desirable under very planned circumstances
which do NOT include a text editor writing to a file.
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
- << Previous post in topic Next post in topic >>