diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-02-23 19:58:09 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-02-23 19:58:16 +0000 |
commit | 3a044aaeb7856d4c0f4cf1be8da64027b686d452 (patch) | |
tree | 168a0a0e8feb1daa86e860a0f6817d6ff4d0a972 /testing/kbuild/sys_siglist.patch | |
parent | cd89b051ddac83b13379b776dcbf0c591e878667 (diff) | |
download | aports-3a044aaeb7856d4c0f4cf1be8da64027b686d452.tar.bz2 aports-3a044aaeb7856d4c0f4cf1be8da64027b686d452.tar.xz |
testing/kbuild: new aport
A makefile framework for writing simple makefiles for complex tasks
http://svn.netlabs.org/kbuild/wiki
needed for virtualbox
Diffstat (limited to 'testing/kbuild/sys_siglist.patch')
-rw-r--r-- | testing/kbuild/sys_siglist.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/kbuild/sys_siglist.patch b/testing/kbuild/sys_siglist.patch new file mode 100644 index 000000000..883b2ef3a --- /dev/null +++ b/testing/kbuild/sys_siglist.patch @@ -0,0 +1,15 @@ +diff --git a/src/ash/jobs.c b/src/ash/jobs.c +index 146326a..cbf0c3e 100644 +--- a/src/ash/jobs.c ++++ b/src/ash/jobs.c +@@ -463,8 +463,8 @@ showjob(struct output *out, struct job *jp, int mode) + #endif + st = WTERMSIG(ps->status); + st &= 0x7f; +- if (st < NSIG && sys_siglist[st]) +- scopyn(sys_siglist[st], s + col, 32); ++ if (st < NSIG && strsignal(st)) ++ scopyn(strsignal(st), s + col, 32); + else + fmtstr(s + col, 16, "Signal %d", st); + if (WCOREDUMP(ps->status)) { |