Subject: Re: PR: bin/12138 [Was: sort crashes]
To: Jaromr Dolecek <jdolecek@netbsd.org>
From: None <itojun@iijlab.net>
List: current-users
Date: 02/16/2001 08:41:46
>I think the right thing is to not call the append() function at all
>if there are no elements to output (nelem == 0). The problem itself
>is in macro OUTPUT in append.c, which just think it's always called
>with at least one record to print.
>So, I believe this is 'correct' fix.
why not making append() check for nelem, or make it work for
no-records case?
itojun