diff options
author | Ron Yorston | 2021-09-12 11:20:33 +0100 |
---|---|---|
committer | Denys Vlasenko | 2021-09-14 08:16:15 +0200 |
commit | 0beee209778870888c3a80a9ae57e74888bc8e7b (patch) | |
tree | 30b0edf10991d4833acd6461be1e848f7668e3e8 /Makefile.help | |
parent | 9346ea9550887ee81de4df3731f8d4ff533f4aed (diff) | |
download | busybox-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 'Makefile.help')
0 files changed, 0 insertions, 0 deletions