Re: [PATCH] daemon.c: squelch error message from EINTR
- From
Petr Baudis <pasky@suse.cz>
- Date
- Aug 4, 2005, 20:29 UTC
- Message-ID
- <20050804202957.GD24479@pasky.ji.cz>
- In-Reply-To
- <7voe8fk0dq.fsf@assigned-by-dhcp.cox.net>
Dear diary, on Wed, Aug 03, 2005 at 08:20:01AM CEST, I got a letter where Junio C Hamano <junkio@cox.net> told me that...
> I am not sure if this is the right fix, and I have not received > an answer from the original author of the patch. I would > appreciate help from the folks on the list who are familiar with > the networking.
I think it's fine. EINTR means it got a signal while waiting, it might be worthwhile checking by strace what signal it actually was - one thing coming on my mind is SIGPIPE or so, but I barely saw the code. Anyway, just sticking your hand in sand if you see this is probably fine.
-- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ If you want the holes in your knowledge showing up try teaching someone. -- Alan Cox