> It makes sense, but we must make sure this does not cause any trouble.
> Does it work on all Windows versions?

I don't know how I can make sure this doens't make any trouble... but
if your question is if CreateFile()'s dwShareMode flag is supported on
all flavors of windows I think the answer is yes. Based on
http://msdn.microsoft.com/en-us/library/aa363874(v=VS.85).aspx and on
http://msdn.microsoft.com/en-us/library/aa363858(VS.85).aspx it looks
like CreateFile goes back to windows 2000.

I'm pretty new to digging into vim's source so I don't know if windows
98 is supported (I was also a bit surprised by the old-style function
declarations :).

Anyway, I guess I could simply build vim and check if the problem goes
away if I add the relevant flag everywhere CreateFile is used, but how
do I make sure it didn't break other stuffs? My instincts tell me this
should not create any problem as you'd normally not care about any
file being already opened or not, but maybe I'm wrong, and I'm not
sure about what I should test to assert at least the basic stuffs work
as expected beside opening some files and checking my vim still
works :)


> On Unix we never care about others having the file open, thus I don't
> see a reason to check for that on MS-Windows.

Well yes on Unix the behavior is to permit others to open the file, so
the current windows behavior differs in that respect.

Thanks,
Philippe

-- 
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

Raspunde prin e-mail lui