author | Linus Torvalds <torvalds@osdl.org> | |
Sun, 2 Apr 2006 20:28:27 +0000 (13:28 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 2 Apr 2006 20:41:56 +0000 (13:41 -0700) | ||
commit | fb7a6531e67333b22967bf5b96ef22a28f3b2552 | |
tree | 2c9630cdc268cef058945d80a21aaa4d658d0b69 | tree | snapshot |
parent | 473d404b53488a17458beea81913c1bc5df47a8a | commit | diff |
Fix Solaris stdio signal handling stupidities
This uses sigaction() to install the SIGALRM handler with SA_RESTART, so
that Solaris stdio doesn't break completely when a signal interrupts a
read.
Thanks to Jason Riedy for confirming the silly Solaris signal behaviour.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This uses sigaction() to install the SIGALRM handler with SA_RESTART, so
that Solaris stdio doesn't break completely when a signal interrupts a
read.
Thanks to Jason Riedy for confirming the silly Solaris signal behaviour.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
pack-objects.c | diff | blob | history |