Date: Tue, 21 Dec 2004 08:53:31 +0100 From: Michiel Boland <michiel@boland.org> To: current@freebsd.org Subject: Re: bash/readline coredumps Message-ID: <20041221075331.GA74343@xs4all.nl> In-Reply-To: <20041130081804.GA22353@xs4all.nl> References: <20041130081804.GA22353@xs4all.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 30, 2004 at 09:18:04AM +0100, Michiel Boland wrote: > Hi. > Lately I am getting core dumps from bash (bash-2.05b.007_2 from ports). > To reproduce: type a command that spans multiple lines, like > > echo ' > ' > > Then bring up the last line with cursor-up or ^P and press enter. Turns out the brokennes was caused by the Readline 5.0 import on 2004/10/18, in particular by the following change in <readline/history.h>: typedef struct _hist_entry { char *line; + char *timestamp; /* char * rather than time_t for read/write */ histdata_t data; } HIST_ENTRY; Upgrading to the new bash (bash-3.0.16_1) fixed this for me. See also PR 75315.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041221075331.GA74343>