1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../ash/uclibc.patch.uclibc
5 # Copyright (C) 2004 - 2016 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
16 --- ash/jobs.c.orig 2005-01-21 21:32:31.000000000 -0800
17 +++ ash/jobs.c 2005-01-21 21:38:23.000000000 -0800
19 if ((i & 0xFF) == 0177)
22 - if ((i & 0x7F) < NSIG && sys_siglist[i & 0x7F])
23 - scopy(sys_siglist[i & 0x7F], s);
24 + if ((i & 0x7F) < NSIG && strsignal(i & 0x7F))
25 + scopy(strsignal(i & 0x7F), s);
27 fmtstr(s, 64, "Signal %d", i & 0x7F);
30 if (status == SIGTSTP && rootshell && iflag)
31 outfmt(out2, "%%%d ", job - jobtab + 1);
33 - if (status < NSIG && sys_siglist[status])
34 - out2str(sys_siglist[status]);
35 + if (status < NSIG && strsignal(status))
36 + out2str(strsignal(status));
38 outfmt(out2, "Signal %d", status);