From owner-svn-src-stable@freebsd.org Tue May 24 03:35:38 2016 Return-Path: Delivered-To: svn-src-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6622EB48C58 for ; Tue, 24 May 2016 03:35:38 +0000 (UTC) (envelope-from pfg@freebsd.org) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1.freebsd.org (Postfix) with SMTP id 2E7AC1508 for ; Tue, 24 May 2016 03:35:37 +0000 (UTC) (envelope-from pfg@freebsd.org) Received: (qmail 3665 invoked by uid 99); 24 May 2016 03:35:37 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 May 2016 03:35:37 +0000 Received: from [192.168.0.100] (unknown [181.55.232.163]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 5E8B51A0117; Tue, 24 May 2016 03:35:36 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: svn commit: r300555 - stable/10/usr.bin/sed From: Pedro Giffuni In-Reply-To: <201605240308.u4O38WWQ098664@repo.freebsd.org> Date: Mon, 23 May 2016 22:35:34 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <1EEA4A50-9DD0-42F3-AAA8-263BFF058F62@freebsd.org> References: <201605240308.u4O38WWQ098664@repo.freebsd.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org X-Mailer: Apple Mail (2.2104) X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2016 03:35:38 -0000 > Il giorno 23/mag/2016, alle ore 22:08, Pedro F. Giffuni = ha scritto: >=20 > Author: pfg > Date: Tue May 24 03:08:32 2016 > New Revision: 300555 > URL: https://svnweb.freebsd.org/changeset/base/300555 >=20 > Log: MFC r299211 > sed: rewrite the main loop. >=20 > Rewrite the main loop of the "sed s/..." command, shortening it by = ten > lines and simplifying it by removing the switch statement = implementing > /g, /1, and /2 separately and repetitively. >=20 > This will be needed to bring a fix from OpenBSD later. >=20 > Obtained from: OpenBSD (schwarze CVS Rev. 1.18) >=20 > Modified: > stable/10/usr.bin/sed/process.c > Directory Properties: > stable/10/ (props changed) >=20