Hi Yakov

On 28 Okt, 07:47, Yakov Lerner <[email protected]> wrote:
> On Wed, Oct 28, 2009 at 00:52, Yakov Lerner <[email protected]> wrote:
> > PS
> > I learned once that on win32, you *must* write
> > if(sock == -1) and never if(sock < 0).
> > Win32 sockets can be negative.  Yes they really can be.
> > msdn specs _open()  as returning  -1 on error, not "negative number".
>
> I was wrong. _open can't return negative fd.
> Maybe moving mch_remove()
> after brace 3512 fixed it ?
> Maybe win32 _open() has
> some race where  it creates the file but then returns -1 ?

I was tipped that my antivirus is a possible explanation for this
behaviour, so I am going to look into that first. If that doesn't work
I might try to debug Vim in Visual Studio, if this doesn't present too
much of a challenge, to see for myself what is going on.

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

Raspunde prin e-mail lui