Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Dec 1998 21:03:17 +0000 (GMT)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Archie Cobbs <archie@FreeBSD.ORG>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.bin/sed compile.c
Message-ID:  <Pine.BSF.4.01.9812082101100.448-100000@herring.nlsystems.com>
In-Reply-To: <199812070535.VAA24215@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.01.9812082101100.448-100000>