1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +01:00

unposted: need const for result of getsigname()

This commit is contained in:
Peter Stephenson 2005-06-01 13:59:14 +00:00
parent 772007e76c
commit b4855d742c
2 changed files with 3 additions and 1 deletions

@ -1,5 +1,7 @@
2005-06-01 Peter Stephenson <pws@csr.com>
* unposted: Src/builtin.c: need const for result of getsigname().
* 21296: Doc/Zsh/builtins.yo [this hunk missing from post],
Doc/Zsh/func.yo, Src/builtin.c, Src/jobs.c, Src/zsh.h:
Allow ERR signal as alias for ZERR on systems that don't

@ -4978,7 +4978,7 @@ bin_trap(char *name, char **argv, UNUSED(Options ops), UNUSED(int func))
shfunctab->printnode(hn, 0);
DPUTS(!hn, "BUG: I did not find any trap functions!");
} else if (sigtrapped[sig]) {
char *name = getsigname(sig);
const char *name = getsigname(sig);
if (!siglists[sig])
printf("trap -- '' %s\n", name);
else {