commit | 9d4dc84a769e3e45e420fbef7c7bb2acbbdccd8e | [log] [tgz] |
---|---|---|
author | Johannes Schindelin <johannes.schindelin@gmx.de> | Fri Jul 14 22:25:58 2017 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Sat Jul 15 11:38:00 2017 +0200 |
tree | 36ca0ab2f7bd11e3da35a4ec2714c71aa5f03e99 | |
parent | 7d7c7bb2205b92359ac88f3469d3af672e2be929 [diff] |
ash: protect WIFSTOPPED use with #if JOBS This change fixes the build in setups where there are no headers defining WIFSTOPPED and WSTOPSIG (where JOBS has to be set to 0). This partially reverts 4700fb5be (ash: make dowait() a bit more readable. Logic is unchanged, 2015-10-09). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>