From: Linus Torvalds Date: Mon, 03 Apr 2006 04:40:10 GMT Subject: Re: [PATCH] Use sigaction and SA_RESTART in read-tree.c; add option in Makefile. Message-ID: In-Reply-To: <7v7j67i93f.fsf@assigned-by-dhcp.cox.net> On Sun, 2 Apr 2006, Junio C Hamano wrote: > Jason Riedy writes: > > > Also add a NO_SA_RESTART option in the Makefile in case someone > > doesn't have SA_RESTART but does restart (maybe older HP/UX?). > > We want the builder to chose this specifically in case the > > system both lacks SA_RESTART and does not restart stdio calls; > > a compat #define in git-compat-utils.h would silently allow > > broken systems. > > What am I missing...? I don't think this part is worth it at least for now. If there really are systems without SA_RESTART, they probably don't have sigaction() either, so #defining SA_RESTART to zero likely won't help. But somebody can prove me wrong.. Linus