commit | fb7a6531e67333b22967bf5b96ef22a28f3b2552 | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@osdl.org> | Sun Apr 02 13:28:27 2006 -0700 |
committer | Junio C Hamano <junkio@cox.net> | Sun Apr 02 13:41:56 2006 -0700 |
tree | 2c9630cdc268cef058945d80a21aaa4d658d0b69 | |
parent | 473d404b53488a17458beea81913c1bc5df47a8a [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>