From: Linus Torvalds Date: Mon, 19 Dec 2005 19:46:37 GMT Subject: Re: EAGAIN? Message-ID: 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