Date: Fri, 29 Jun 2001 05:20:07 -0700 (PDT) From: Ruslan Ermilov <ru@FreeBSD.ORG> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/28449: sh(1) aborts on certain input Message-ID: <200106291220.f5TCK7q52632@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: Ruslan Ermilov <ru@FreeBSD.ORG> To: Tor.Egge@fast.no Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/28449: sh(1) aborts on certain input Date: Fri, 29 Jun 2001 15:18:20 +0300 Ouch, then this definitely works for me, at least this doesn't abort(3)'s anymore. On Fri, Jun 29, 2001 at 02:14:49PM +0200, Tor.Egge@fast.no wrote: > > > > With my test, `c' will be -126 here, and SQSYNTAX[-126] is obviously the > > wrong thing. > > It is obviously the right thing. > > >From the 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 -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age 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.f5TCK7q52632>