ash: in dotrap(), do not clear gotsig[] for SIGINT if there is no handler
authorDenis Vlasenko <vda.linux@googlemail.com>
Thu, 19 Mar 2009 13:30:04 +0000 (13:30 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Thu, 19 Mar 2009 13:30:04 +0000 (13:30 -0000)
commit4b875708c13ec810e8fbd5721a68442f36a9210d
tree9c711b170d49cbc949f06964dd9cad0b51ec27ea
parent0354aba9a14e3c28934af505688acbb62437d95e
ash: in dotrap(), do not clear gotsig[] for SIGINT if there is no handler
 for it, otherwise raise interrupt gets confused later.
 The rest are readability fixes.

function                                             old     new   delta
evaltreenr                                           817     818      +1
evaltree                                             817     818      +1
evalstring                                            88      89      +1
cmdloop                                              420     419      -1
evalskip                                               4       1      -3
breakcmd                                              84      81      -3
ash_main                                            1382    1379      -3
evalloop                                             183     177      -6
evalfor                                              231     225      -6
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/6 up/down: 3/-22)             Total: -19 bytes
shell/ash.c