From owner-cvs-all Tue Dec 8 13:02:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA09223 for cvs-all-outgoing; Tue, 8 Dec 1998 13:02:53 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA09199; Tue, 8 Dec 1998 13:02:48 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id VAA11420; Tue, 8 Dec 1998 21:03:17 GMT Date: Tue, 8 Dec 1998 21:03:17 +0000 (GMT) From: Doug Rabson To: Archie Cobbs cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/usr.bin/sed compile.c In-Reply-To: <199812070535.VAA24215@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Sun, 6 Dec 1998, Archie Cobbs wrote: > archie 1998/12/06 21:35:54 PST > > Modified files: > usr.bin/sed compile.c > Log: > Fix brokenness compiling "s/pat/subst/" when length of subst is >= 4090 chars. > PR: bin/7939 > > Revision Changes Path > 1.11 +6 -3 src/usr.bin/sed/compile.c > This breaks the build of perl. The following command line generates an error: sed -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-def!#undef!' The reason seems to be that cu_fgets() is called at the end of the #define part and reads the next -e argument which confuses things totally. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message