Re: [tig PATCH] continue updates when pipe read has errno "Success"
- From
Jeff King <peff@peff.net>
- Date
- Aug 22, 2008, 15:59 UTC
- Message-ID
- <20080822155914.GB5280@coredump.intra.peff.net>
- In-Reply-To
- <2c6b72b30808220310v1083e860tef9fd6efa57767e3@mail.gmail.com>
On Fri, Aug 22, 2008 at 12:10:35PM +0200, Jonas Fonseca wrote:
> Thanks for the fix/workaround!
Thank you for making tig. ;)
> For a possible "better" fix, I have been working on moving tig to use > the run-command.[ch] code from git, which means that ferror() will no > longer be needed. It is still not ready but looks promising.
I think that would be much cleaner, as the semantics of system calls and signals tend to be better defined.
-Peff