* "BUG: empty heap" and problem with _cvs
@ 2000-02-28 7:31 Bart Schaefer
0 siblings, 0 replies; 4+ messages in thread
From: Bart Schaefer @ 2000-02-28 7:31 UTC (permalink / raw)
To: zsh-workers
zagzig<3> compinit
zagzig<4> setopt kshautoload
zagzig<5> cvs <TAB>BUG: empty heap
BUG: empty heap
BUG: empty heap
BUG: empty heap
BUG: empty heap
BUG: empty heap
_requested:192: _requested: function not defined by file
zagzig<5> cvs
The fix for _cvs follows, but I don't have a patch for the "empty heap".
Index: Completion/User/_cvs
===================================================================
@@ -656,4 +656,4 @@
# call real _cvs.
-_cvs "$@"
+[[ -o kshautoload ]] || _cvs "$@"
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: "BUG: empty heap" and problem with _cvs
@ 2000-02-29 12:13 Sven Wischnowsky
0 siblings, 0 replies; 4+ messages in thread
From: Sven Wischnowsky @ 2000-02-29 12:13 UTC (permalink / raw)
To: zsh-workers
Bart Schaefer wrote:
> } > zagzig<5> cvs <TAB>BUG: empty heap
> }
> } I can't get the `heap empty' even though I have all debugging macros
> } defined. Damn.
>
> I can't get it any more, either.
>
> } Also, I'm not sure why heaps shouldn't be allowed to be empty...
>
> I think the idea was that zsh shouldn't be pushing a heap onto the
> stack of heaps until it's known that some of the memory is going to
> be used. It was a way of detecting extraneous pushheap() calls.
> Possibly obsolete now that all stack and heap allocations are made
> explicitly.
Ah, right. And since several parts of the shell have been changed to
be non-copying any more, this may the whole problem...
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: "BUG: empty heap" and problem with _cvs
2000-02-28 9:14 Sven Wischnowsky
@ 2000-02-29 8:58 ` Bart Schaefer
0 siblings, 0 replies; 4+ messages in thread
From: Bart Schaefer @ 2000-02-29 8:58 UTC (permalink / raw)
To: zsh-workers
On Feb 28, 10:14am, Sven Wischnowsky wrote:
} Subject: Re: "BUG: empty heap" and problem with _cvs
}
}
} Bart Schaefer wrote:
}
} > zagzig<3> compinit
} > zagzig<4> setopt kshautoload
}
} (Hm. Completion fails terribly when kshautoload is set...)
Yup.
} > zagzig<5> cvs <TAB>BUG: empty heap
}
} I can't get the `heap empty' even though I have all debugging macros
} defined. Damn.
I can't get it any more, either.
} Also, I'm not sure why heaps shouldn't be allowed to be empty...
I think the idea was that zsh shouldn't be pushing a heap onto the
stack of heaps until it's known that some of the memory is going to
be used. It was a way of detecting extraneous pushheap() calls.
Possibly obsolete now that all stack and heap allocations are made
explicitly.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: "BUG: empty heap" and problem with _cvs
@ 2000-02-28 9:14 Sven Wischnowsky
2000-02-29 8:58 ` Bart Schaefer
0 siblings, 1 reply; 4+ messages in thread
From: Sven Wischnowsky @ 2000-02-28 9:14 UTC (permalink / raw)
To: zsh-workers
Bart Schaefer wrote:
> zagzig<3> compinit
> zagzig<4> setopt kshautoload
> zagzig<5> cvs <TAB>BUG: empty heap
> BUG: empty heap
> BUG: empty heap
> BUG: empty heap
> BUG: empty heap
> BUG: empty heap
>
> _requested:192: _requested: function not defined by file
> zagzig<5> cvs
>
>
> The fix for _cvs follows, but I don't have a patch for the "empty heap".
(Hm. Completion fails terribly when kshautoload is set...)
I can't get the `heap empty' even though I have all debugging macros
defined. Damn. Also, I'm not sure why heaps shouldn't be allowed to be
empty...
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-02-29 12:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-28 7:31 "BUG: empty heap" and problem with _cvs Bart Schaefer
2000-02-28 9:14 Sven Wischnowsky
2000-02-29 8:58 ` Bart Schaefer
2000-02-29 12:13 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).