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:
parent
772007e76c
commit
b4855d742c
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user