Re: [PATCH] Use sigaction and SA_RESTART in read-tree.c; add option in Makefile.
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Apr 3, 2006, 04:40 UTC
- Message-ID
- <Pine.LNX.4.64.0604022139100.3781@g5.osdl.org>
- In-Reply-To
- <7v7j67i93f.fsf@assigned-by-dhcp.cox.net>
On Sun, 2 Apr 2006, Junio C Hamano wrote:
Show 10 quoted lines
> Jason Riedy <ejr@EECS.Berkeley.EDU> 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