From: Johannes Sixt Date: Sat, 14 Aug 2010 18:31:46 GMT Subject: Re: [PATCH il/rfc-remote-fd-ext] Fix build on Windows Message-ID: <201008142031.46759.j6t@kdbg.org> In-Reply-To: <20100814093801.GA28522@LK-Perkele-V2.elisa-laajakaista.fi> On Samstag, 14. August 2010, Ilari Liusvaara wrote: > The code doesn't really need POLLNVAL (Its just there for "can't happen" > case). POLLOUT is needed. I looked at poll emulation code: It returning > EINVAL causes transfer loop to fail quick. > > I think its possible to write the loop in terms of select instead of poll. > Would this be better for Git on Windows? No. select does not work with pipes on Windows. -- Hannes