Description: Use strsignal() in favor of sys_siglist[]
 The sys_siglist, _sys_siglist and sys_sigabbrev arrays have been deprecated.
 All programs should use strsignal() instead.
 .
Author: Lukas Märdian <slyon@ubuntu.com>
Forwarded: no
Last-Update: 2021-04-23

---
--- csh-20110502.orig/proc.c
+++ csh-20110502/proc.c
@@ -732,8 +732,7 @@ pprint(struct process *pp, bool flag)
 			    && (reason != SIGPIPE
 				|| (pp->p_flags & PPOU) == 0))) {
 			(void) fprintf(cshout, format,
-				       sys_siglist[(unsigned char)
-						   pp->p_reason]);
+				       strsignal(pp->p_reason));
 			hadnl = 0;
 		    }
 		    break;
