From owner-freebsd-bugs Fri Jun 29 5:20: 6 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5D71237B403 for ; Fri, 29 Jun 2001 05:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5TCK3a52620; Fri, 29 Jun 2001 05:20:03 -0700 (PDT) (envelope-from gnats) Date: Fri, 29 Jun 2001 05:20:03 -0700 (PDT) Message-Id: <200106291220.f5TCK3a52620@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Tor.Egge@fast.no Subject: Re: bin/28449: sh(1) aborts on certain input Reply-To: Tor.Egge@fast.no Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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