Re: [PATCH] Use sigaction and SA_RESTART in read-tree.c; add option in Makefile.

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] Use sigaction and SA_RESTART in read-tree.c; add option in Makefile.

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:23

Jason Riedy [off-list ref] 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...?

Re: [PATCH] Use sigaction and SA_RESTART in read-tree.c; add option in Makefile.

From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:42:23


On Sun, 2 Apr 2006, Junio C Hamano wrote:
Jason Riedy [off-list ref] writes:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help