mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
39561: missing unqueue_signals() when ZSH_HEAP_DEBUG
This commit is contained in:
parent
ccc0b6f8a6
commit
429f8ae71d
2 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2016-10-04 Barton E. Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 39561: Src/mem.c: missing unqueue_signals() when ZSH_HEAP_DEBUG
|
||||
|
||||
2016-10-03 Barton E. Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 39550: Src/Zle/zle_main.c: reset signal queue in recursiveedit()
|
||||
|
|
|
@ -918,16 +918,21 @@ memory_validate(Heapid heap_id)
|
|||
if (heaps_saved) {
|
||||
for (node = firstnode(heaps_saved); node; incnode(node)) {
|
||||
for (h = (Heap)getdata(node); h; h = h->next) {
|
||||
if (h->heap_id == heap_id)
|
||||
if (h->heap_id == heap_id) {
|
||||
unqueue_signals();
|
||||
return 0;
|
||||
}
|
||||
for (hs = heaps->sp; hs; hs = hs->next) {
|
||||
if (hs->heap_id == heap_id)
|
||||
if (hs->heap_id == heap_id) {
|
||||
unqueue_signals();
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
unqueue_signals();
|
||||
return 1;
|
||||
}
|
||||
/**/
|
||||
|
|
Loading…
Reference in a new issue