Denys Vlasenko 7e6753609d hush: fix "wait PID"
It was not properly interruptible, and did not update job status
(the exited processes were still thought of as running).

function                                             old     new   delta
process_wait_result                                    -     453    +453
wait_for_child_or_signal                               -     199    +199
run_list                                             996    1002      +6
checkjobs_and_fg_shell                                41      43      +2
builtin_wait                                         328     215    -113
checkjobs                                            516     142    -374
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 2/2 up/down: 660/-487)          Total: 173 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-10-28 21:59:09 +02:00
..
2010-07-26 01:49:12 +02:00
2009-05-23 17:00:13 +02:00
2016-09-29 01:44:17 +02:00
2016-09-29 01:44:17 +02:00
2009-04-20 22:04:21 +00:00
2009-04-20 22:04:21 +00:00
2009-04-10 23:23:41 +00:00
2009-04-10 23:23:41 +00:00
2009-04-10 23:23:41 +00:00
2009-04-10 23:23:41 +00:00
2010-01-25 13:39:24 +01:00
2016-10-01 20:12:10 +02:00
2016-10-01 20:12:10 +02:00
2009-04-20 10:52:31 +00:00
2015-10-13 01:49:06 +02:00
2009-04-06 18:10:20 +00:00
2016-10-28 21:59:09 +02:00
2016-10-28 21:59:09 +02:00
2016-10-28 21:59:09 +02:00
2016-10-28 21:59:09 +02:00
2016-10-28 21:59:09 +02:00
2016-10-28 21:59:09 +02:00
2009-04-06 18:10:20 +00:00