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

Re: Size zero allocations



Bart Schaefer wrote:

> Press kill-whole-line at an empty prompt, and ElectricFence reports:
> 
> zagzig% ^U
> ElectricFence Aborting: Allocating 0 bytes, probably a bug.
> 
> Is this, in fact, a bug?

Well, adding an empty string to the kill ring doesn't seem to make
much sense... maybe we should just add a `if (!ct) return;' to cut()
(in zle_utils.c)?

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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