mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 04:40:59 +01:00
11029: Some missing bits of merging 11015 with 11026.
This commit is contained in:
parent
04c1d78c5a
commit
3e43e50992
3 changed files with 7 additions and 5 deletions
|
|
@ -789,8 +789,8 @@ removeshfuncnode(HashTable ht, char *nam)
|
|||
HashNode hn;
|
||||
int signum;
|
||||
|
||||
if (!strncmp(nam, "TRAP", 4) && (signum = getsignum(nam +4)) != -1)
|
||||
hn = removetrap(getsignum(nam + 4));
|
||||
if (!strncmp(nam, "TRAP", 4) && (signum = getsignum(nam + 4)) != -1)
|
||||
hn = removetrap(signum);
|
||||
else
|
||||
hn = removehashnode(shfunctab, nam);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue