timeout: defensive handling of all wait() errors
commit0b1dcf33f5b9d0102b852a361135462708408a71
authorPádraig Brady <P@draigBrady.com>
Mon, 31 Aug 2009 18:18:27 +0000 (31 19:18 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 1 Sep 2009 10:02:18 +0000 (1 11:02 +0100)
treeb61a3f7badfafc4467da89bc7da31621a4107515
parenta977dbbe78f4dcb64e008f41c8a46c4972af834b
timeout: defensive handling of all wait() errors

* src/timeout.c (main): Handle all possible cases of unexpected
failures from wait().  This was prompted by the clang tool reporting
the possible non-initialization of the status variable.
src/timeout.c