diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2016-10-26 19:28:29 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-03-10 15:59:26 +0800 |
commit | 53dab360a1e0dddcfd83c6cbfc9f720f5e233550 (patch) | |
tree | e9dc884e38188876ac95450fbb2832026dcdfd70 /src/miscbltin.c | |
parent | Release 0.5.9.1. (diff) | |
download | dash-53dab360a1e0dddcfd83c6cbfc9f720f5e233550.tar.gz dash-53dab360a1e0dddcfd83c6cbfc9f720f5e233550.zip |
trap: Globally rename pendingsigs to pending_sig
This variable does not contain "sigs" (plural). It contains either 0 or (one) signal number of a pending signal. For someone unfamiliar with this code, "pendingsigs" name is confusing - it hints at being an array or bit mask of pending singnals. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com> CC: dash@vger.kernel.org Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
-rw-r--r-- | src/miscbltin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/miscbltin.c b/src/miscbltin.c index 39b9c47..5ccbbcb 100644 --- a/src/miscbltin.c +++ b/src/miscbltin.c @@ -152,7 +152,7 @@ readcmd(int argc, char **argv) case 1: break; default: - if (errno == EINTR && !pendingsigs) + if (errno == EINTR && !pending_sig) continue; /* fall through */ case 0: |