summaryrefslogtreecommitdiff
path: root/libbb/bb_cat.c
diff options
context:
space:
mode:
authorRon Yorston2021-09-12 11:20:33 +0100
committerDenys Vlasenko2021-09-14 08:16:15 +0200
commit0beee209778870888c3a80a9ae57e74888bc8e7b (patch)
tree30b0edf10991d4833acd6461be1e848f7668e3e8 /libbb/bb_cat.c
parent9346ea9550887ee81de4df3731f8d4ff533f4aed (diff)
downloadbusybox-0beee209778870888c3a80a9ae57e74888bc8e7b.zip
busybox-0beee209778870888c3a80a9ae57e74888bc8e7b.tar.gz
ash: fix ignoreeof option
The ignoreeof option should prevent an interactive shell from exiting on EOF. This hasn't worked in BusyBox ash since commit 727752d2d (ash: better fix for ash -c 'echo 5&' and ash -c 'sleep 5&' with testcase). Commit 3b4d04b77e (ash: input: Allow two consecutive calls to pungetc) pulled in improved support for multiple calls to pungetc from dash, thus rendering much of commit 727752d2d obsolete. Removing this old code fixes the problem with ignoreeof. function old new delta __pgetc 605 587 -18 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-18) Total: -18 bytes Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/bb_cat.c')
0 files changed, 0 insertions, 0 deletions