| Summary: | Busybox shell doesn't handle SIGHUP properly | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | Andre Klapper <a9016009> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | a9016009, busybox-cvs |
| Priority: | P5 | ||
| Version: | 1.12.x | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| URL: | https://bugs.maemo.org/show_bug.cgi?id=5317 | ||
| Host: | Target: | ||
| Build: | |||
|
Description
Andre Klapper
2009-11-17 21:52:47 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.
It is already fixed for some time, including released versions. |