Subject: Re: ksh in free(): warning: chunk is already free.
To: None <current-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2006.salmi.ch>
List: current-users
Date: 04/27/2006 16:13:34
Fixed with rev. 1.19 of bin/ksh/edit.c - thanks!


Cheers, Jukka

Jukka Salmi --> current-users (2006-04-27 10:55:10 +0200):
> Hi,
> 
> there's a problem with the recent [1]change to src/bin/ksh/edit.c;
> when trying to complete a path which doesn't exist, ksh prints the
> quoted warning from malloc.c:
> 
> $ ls /nonexistant	# press TAB or whatever `complete-list' is bound to
> $ ls /nonexistant-ksh in free(): warning: chunk is already free.
> 
> Reverting edit.c back to rev. 1.17 fixes the problem.
> 
> 
> Regards, Jukka
> 
> [1] http://cvsweb.netbsd.org/bsdweb.cgi/src/bin/ksh/edit.c.diff?r1=1.17&r2=1.18
> 
> -- 
> bashian roulette:
> $ ((RANDOM%6)) || rm -rf ~

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~