]> diplodocus.org Git - nmh/commit
pidstatus(): Delete commented-out code testing for exit(255).
authorRalph Corderoy <ralph@inputplus.co.uk>
Sun, 10 Sep 2017 10:35:20 +0000 (11:35 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 10 Sep 2017 10:35:20 +0000 (11:35 +0100)
commit87751a2f760b5b1bd93f78120bfcc54a54b2c074
treee2494ceb7cb77d189f5a0011f12410e6c796abdb
parent89edf0508f6df4700d0e28cace04e44fec4ff735
pidstatus(): Delete commented-out code testing for exit(255).

Pre-dating git, a test of wait(2)'s status having its top eight bits all
set was commented out an "I've no idea what this does" explanation.  The
top eight bits hold either exit(3)'s parameter or the signal that caused
the child to stop.  Either way, there are macros for pulling apart that
value and they're being used.  Perhaps they were broken on a much older
system.  Delete the comment, including its code.
sbr/pidstatus.c