Subject: 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 10:55:10
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 ~