OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.5 KiB

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