Re: EAGAIN?
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Dec 19, 2005, 19:46 UTC
- Message-ID
- <Pine.LNX.4.64.0512191142410.4827@g5.osdl.org>
- In-Reply-To
- <7vhd95h02o.fsf@assigned-by-dhcp.cox.net>
On Mon, 19 Dec 2005, Junio C Hamano wrote:
> > I was looking at "git grep -n EAGAIN" output and found that many > places check "errno == EAGAIN" without checking "errno == > EINTR", both for read(2) and write(2).
I suspect it's mostly in my code. It's a stupid quirk of mine.
You might as well delete those thing, but yes, if you want to replace them with testing both EAGAIN and EINTR, go right ahead.
Linus