Incorrect handling of EINTR in Bazaar

Andrew Bennetts andrew.bennetts at canonical.com
Fri Feb 19 01:50:13 GMT 2010


Martin (gzlist) wrote:
> First off, having spent a week reading bits and pieces of conflicting
> documentation on the internet before posting this thread, I decided
> that not only did I not understand unix signals, but no one else does
> either.

I know the feeling! :)

> On 19/02/2010, Andrew Bennetts <andrew.bennetts at canonical.com> wrote:
> >
> > I don't think this is right.  Even when 'file' is a pipe, e.g. when using
> > stdin/stdout?  I certainly see EINTR in this case.  Try this:
> 
> Pipes do seem to be a valid concern where regular files are not, good catch.
> 
> > Ouch!
> 
> The good news is it's been fixed for seven months already.

If only we could make everyone upgrade to the latest Python :(

-Andrew.




More information about the bazaar mailing list