From owner-svn-src-all@freebsd.org Wed Aug 29 17:27:26 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46C801090051; Wed, 29 Aug 2018 17:27:26 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CFDA975C8B; Wed, 29 Aug 2018 17:27:25 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 32C5721B6D; Wed, 29 Aug 2018 13:27:25 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 29 Aug 2018 13:27:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yuripv.net; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=TTF5hrB7GrqxOov7FyxBtrr/8sgD9 89+nmGbjJkb7gk=; b=kCCiIPd5CBgli/XpMJFF07gPp2Z0DmadYM6A2DrYudi3V uJI7RVhLo8sTCNALaXhXgEqicu59/CpjlFs51iI8JfsUM+AYORQejE+T2R6vvaJq oS6bhg5P4RvvVTZvpYJz4UeY9OgTi4TKNYuVJfntJC00EsajQBjkhuM+Vvx7TuxU mwU3/GRTOl9bTpWwEwffYa57je385rBE4Kl23ki1pAWOXLRw/Jr8qR4ZqJXaQzZi GCQrmm3yWd7gp+hjL3Df+hqQzN6yLjgeHmGcGazbZb4SpJy62TsedDBgMWrqCO/g mpxC3fjcxfK4qfQLdLZc7efB+PwAUBIpruHqT8X+Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=TTF5hr B7GrqxOov7FyxBtrr/8sgD989+nmGbjJkb7gk=; b=C5BopN3vIeEg3v1yagYEfh K+a9f4V7BvWSyCkkTIR/b0u4rzZt/rOHU/AO+N9C3rTMLUK5mTHEydypas2w0oN8 UBDZXsC12wPZK+ne9h7WDl1kc9EO8KNsdBE2FyjpSaxhBr3veJbLH+/jNg/6xcEz vGV7Rpv6BglTdPyD7v/zDzI4ajvjawaKePfQykX18x1yaB6dH8rIWUTx8v8JKRIq L35W/8CMtJ38sdUbzJt05OT7Nqg/dWWaSBPYwL3KOLYZEjMhCuNRXnAWLfMjsg+Z aWTQOE82c55jQUB018ksTU/WFeHDg2kmR6MP5pzSBfuz1cKQmJumPYBf1zQawE6w == X-ME-Proxy: X-ME-Sender: Received: from [192.168.1.2] (unknown [178.34.99.43]) by mail.messagingengine.com (Postfix) with ESMTPA id E828B1028F; Wed, 29 Aug 2018 13:27:23 -0400 (EDT) Subject: Re: svn commit: r338375 - in head/usr.bin/sed: . tests To: Mark Johnston , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201808291709.w7TH94Mn001568@repo.freebsd.org> From: Yuri Pankov Message-ID: Date: Wed, 29 Aug 2018 20:27:23 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <201808291709.w7TH94Mn001568@repo.freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Aug 2018 17:27:26 -0000 Mark Johnston wrote: > Author: markj > Date: Wed Aug 29 17:09:03 2018 > New Revision: 338375 > URL: https://svnweb.freebsd.org/changeset/base/338375 > > Log: > sed: Fix -i option behavior with 'q' command. > > Don't just exit when encountering the 'q' command if we edit file > inplace, and give mf_fgets() a chance to actually handle the > inplace case. > > Also add a regression test. > > Submitted by: Yuri Pankov > Approved by: re (kib) > MFC after: 1 week > Differential Revision: https://reviews.freebsd.org/D16798 This is also: PR: 230507