From owner-cvs-src@FreeBSD.ORG Wed Jun 4 20:23:19 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E02F837B401; Wed, 4 Jun 2003 20:23:19 -0700 (PDT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A9B043F85; Wed, 4 Jun 2003 20:23:19 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id 49F932A8C1; Wed, 4 Jun 2003 20:23:19 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Tony Finch In-Reply-To: <200306041531.h54FVtOD006167@repoman.freebsd.org> Date: Wed, 04 Jun 2003 20:23:19 -0700 From: Peter Wemm Message-Id: <20030605032319.49F932A8C1@canning.wemm.org> cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/sed process.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2003 03:23:20 -0000 Tony Finch wrote: > fanf 2003/06/04 08:31:55 PDT > > FreeBSD src repository > > Modified files: > usr.bin/sed process.c > Log: > Fix substitution when the regex matches the zero-length string. > There are two bugs: in the s///g case, the substitution didn't occur > at the end of the line; in the s///N case, the code didn't count > forwards along the line properly. See the sg, s3, s4, and s5 tests > in src/tools/regression/usr.bin/sed/. > > Reviewed by: tjr OH MY GOD, YOU KILLED KENNY^H^H^H^H^HSED!!!! sed -f /usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/targmatch.sed /usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/config.bfd | vis .... #if !defined (SELECT_VECS) || defined (HAVE_a_out_adobe_vec) \^@ { "*-adobe-*", &a_out_adobe_vec }, #endif \^@ #if !defined (SELECT_VECS) || defined (HAVE_newsos3_vec) \^@ { "*-sony-*", &newsos3_vec }, #endif \^@ .... Backing out this change to process.c "fixed" it. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5