Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2001 05:20:03 -0700 (PDT)
From:      Tor.Egge@fast.no
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/28449: sh(1) aborts on certain input
Message-ID:  <200106291220.f5TCK3a52620@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/28449; it has been noted by GNATS.

From: Tor.Egge@fast.no
To: ru@FreeBSD.ORG
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/28449: sh(1) aborts on certain input
Date: Fri, 29 Jun 2001 14:14:49 +0200

 > With my test, `c' will be -126 here, and SQSYNTAX[-126] is obviously t=
 he
 > wrong thing.
 
 It is obviously the right thing.
 
 From=20the generated file syntax.h:
 
 
 	#define SYNBASE 129
 	#define SQSYNTAX (sqsyntax + SYNBASE)
 
 i.e. SQSYNTAX[-126] becomes (sqsyntax + 129)[-126] which is sqsyntax[3].=
 
 
 - Tor Egge

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106291220.f5TCK3a52620>