summaryrefslogtreecommitdiff
path: root/libbb/bb_qsort.c
diff options
context:
space:
mode:
authorRon Yorston2021-09-12 11:21:48 +0100
committerDenys Vlasenko2021-09-14 08:25:58 +0200
commit5726df5f94f973eaa097d9853ceff2bd6b748d97 (patch)
treece8fda0d1d224afa183fc13b44ddc365715907a4 /libbb/bb_qsort.c
parent50239a665c88f5a95ce41146804500f5da90b19e (diff)
downloadbusybox-5726df5f94f973eaa097d9853ceff2bd6b748d97.zip
busybox-5726df5f94f973eaa097d9853ceff2bd6b748d97.tar.gz
ash: let ignoreeof only affect interactive shells
Commit fb7d6c89 from Harald van Dijk's gwsh variant of ash (https://github.com/hvdijk/gwsh): ignoreeof is documented as only having an effect for interactive shells, but is implemented as having mostly the same effect for interactive shells as for non-interactive shells. Change the implementation to match the documentation. Test case: $SHELL -o ignoreeof /dev/null function old new delta cmdloop 359 361 +2 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/0 up/down: 2/0) Total: 2 bytes Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/bb_qsort.c')
0 files changed, 0 insertions, 0 deletions