From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14674 invoked from network); 7 Mar 2001 10:09:50 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 7 Mar 2001 10:09:50 -0000 Received: (qmail 19666 invoked by alias); 7 Mar 2001 10:09:43 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13586 Received: (qmail 19654 invoked from network); 7 Mar 2001 10:09:43 -0000 Date: Wed, 7 Mar 2001 11:09:39 +0100 (MET) Message-Id: <200103071009.LAA06906@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.dk In-reply-to: "Bart Schaefer"'s message of Tue, 6 Mar 2001 17:13:34 +0000 Subject: 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@informatik.hu-berlin.de