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

bug in delete-to-char in 4.3.9



Hi, there appears to be a small bug in delete-to-char in zsh 4.3.9.
I'm upgrading from 4.2.5 so don't know how long ago it was introduced.
The bug causes either incorrect behavior, or the crash:

| zsh: fatal error: out of memory

zap-to-char works so long as you don't give it a prefix (count)
argument.

Below is the obvious patch obtained by comparing the code with 4.2.7
and looking for discrepancies; it seems to work.

cheers,
Greg

Attachment: zsh-4.3.9-zap.patch
Description: patch



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