[Bug 723] Busybox shell doesn't handle SIGHUP properly

bugzilla at busybox.net bugzilla at busybox.net
Wed Nov 18 10:51:25 UTC 2009


https://bugs.busybox.net/show_bug.cgi?id=723





--- Comment #1 from Denys Vlasenko <vda.linux at googlemail.com>  2009-11-18 10:51:24 UTC ---
Current version saves history after each command, thus does not have this
problem:

# ./busybox ash
~/srcdevel/bbox/fix/busybox.t5 # kill -HUP $$
Hangup
# ./busybox ash
(pressed up arrow:)
~/srcdevel/bbox/fix/busybox.t5 # kill -HUP $$

> (Other way to safely notify the main thread about the async signal delivery
would be using a pipe added to select(), but that's a bit of an overkill.)

We do not have threads, nor use select/poll for input in our shells.


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list