Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: "BUG: empty heap" and problem with _cvs



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@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author