* PATCH: unbalanced {push,pop}heap()
@ 2000-01-11 8:41 Sven Wischnowsky
0 siblings, 0 replies; only message in thread
From: Sven Wischnowsky @ 2000-01-11 8:41 UTC (permalink / raw)
To: zsh-workers
... in execautofn(). My fault.
Bye
Sven
diff -ru ../z.old/Src/exec.c Src/exec.c
--- ../z.old/Src/exec.c Mon Jan 10 10:53:27 2000
+++ Src/exec.c Tue Jan 11 09:39:47 2000
@@ -2913,6 +2913,7 @@
if (l == &dummy_list) {
zerr("%s: function definition file not found", shf->nam, 0);
+ popheap();
return 1;
}
if (isset(KSHAUTOLOAD)) {
@@ -2922,6 +2923,7 @@
shf = (Shfunc) shfunctab->getnode(shfunctab, n);
if(!shf || (shf->flags & PM_UNDEFINED)) {
zerr("%s: function not defined by file", n, 0);
+ popheap();
return 1;
}
} else {
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-01-11 8:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-11 8:41 PATCH: unbalanced {push,pop}heap() Sven Wischnowsky
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).