diff options
author | Ron Yorston <rmy@pobox.com> | 2021-03-01 11:48:04 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2021-03-01 11:48:04 +0000 |
commit | e2e8e16b465d34759678b8170c44ce62c5b74eb0 (patch) | |
tree | abc31e3e2c1d0de089ae5e1e6d37672394757af9 /shell | |
parent | b5cd41cdf4e6afd475fe34b755f99578e20b08ca (diff) | |
parent | 9b6bcfda0e11c0e73a966a77110f6c68425cff34 (diff) | |
download | busybox-w32-e2e8e16b465d34759678b8170c44ce62c5b74eb0.tar.gz busybox-w32-e2e8e16b465d34759678b8170c44ce62c5b74eb0.tar.bz2 busybox-w32-e2e8e16b465d34759678b8170c44ce62c5b74eb0.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/ash.c b/shell/ash.c index 2c99c3ead..8cc7a5c75 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -4702,9 +4702,7 @@ sprint_status48(char *os, int status, int sigonly) | |||
4702 | #endif | 4702 | #endif |
4703 | } | 4703 | } |
4704 | st &= 0x7f; | 4704 | st &= 0x7f; |
4705 | //TODO: use bbox's get_signame? strsignal adds ~600 bytes to text+rodata | 4705 | s = stpncpy(s, strsignal(st), 32); |
4706 | //s = stpncpy(s, strsignal(st), 32); //not all libc have stpncpy() | ||
4707 | s += fmtstr(s, 32, strsignal(st)); | ||
4708 | if (WCOREDUMP(status)) { | 4706 | if (WCOREDUMP(status)) { |
4709 | s = stpcpy(s, " (core dumped)"); | 4707 | s = stpcpy(s, " (core dumped)"); |
4710 | } | 4708 | } |