Subject: Re: awk bug in current ?
To: None <current-users@netbsd.org>
From: walt <wa1ter@myrealbox.com>
List: current-users
Date: 03/19/2006 09:44:14
On Sun, 2006-03-19 at 18:07 +0100, Vincent wrote:
> walt a écrit :
> > On Sun, 2006-03-19 at 17:19 +0100, Vincent wrote:
> > 
> >>Hi there,
> >>I've build the current release some minutes ago, and now I get this message:
> >>
> >>assertion "c < NCHARS" failed: file "/usr/src/dist/nawk/b.c", line 890, 
> >>function "cgoto"
> >>[1]   Abort trap (core dumped) /usr/bin/awk "/#...
> > 
> > 
> > I see the same (on i386):
> 
> You're right, I omitted to add that I was running current on i386.
> Worse, with that broken awk, I cannot build the system anymore:

As a temporary workaround until Christos can do the correct fix,
just delete line 890 of /usr/src/dist/nawk/b.c and recompile
and reinstall /usr/src/usr.bin/awk.

Here is the line to be deleted:
              assert(c < NCHARS);

That should allow us to rebuild the system when the correct
fix is committed.