From owner-freebsd-stable@FreeBSD.ORG Fri Oct 2 07:47:51 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50F541065679 for ; Fri, 2 Oct 2009 07:47:51 +0000 (UTC) (envelope-from stefan@fafoe.narf.at) Received: from viefep32-int.chello.at (viefep32-int.chello.at [62.179.121.50]) by mx1.freebsd.org (Postfix) with ESMTP id 8B5A68FC21 for ; Fri, 2 Oct 2009 07:47:50 +0000 (UTC) Received: from edge05.upc.biz ([192.168.13.212]) by viefep16-int.chello.at (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20091002072834.UQNZ422.viefep16-int.chello.at@edge05.upc.biz>; Fri, 2 Oct 2009 09:28:34 +0200 Received: from lizard.fafoe.narf.at ([213.47.85.26]) by edge05.upc.biz with edge id njUW1c03T0a5KZh05jUX9C; Fri, 02 Oct 2009 09:28:34 +0200 X-SourceIP: 213.47.85.26 Received: by lizard.fafoe.narf.at (Postfix, from userid 1001) id 4E1B8BB27; Fri, 2 Oct 2009 09:28:30 +0200 (CEST) Date: Fri, 2 Oct 2009 09:28:30 +0200 From: Stefan Farfeleder To: Andre Albsmeier Message-ID: <20091002072829.GA1610@lizard.fafoe.narf.at> References: <20091001144946.GA75477@curry.mchp.siemens.de> <4AC4CE48.3080803@icyb.net.ua> <20091001183101.GB76820@curry.mchp.siemens.de> <20091001191219.GA77569@curry.mchp.siemens.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091001191219.GA77569@curry.mchp.siemens.de> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-stable@freebsd.org, Andriy Gapon Subject: Re: Bug in 7.2-STABLE's /bin/sh? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 07:47:51 -0000 On Thu, Oct 01, 2009 at 09:12:19PM +0200, Andre Albsmeier wrote: > On Thu, 01-Oct-2009 at 20:31:01 +0200, Andre Albsmeier wrote: > > On Thu, 01-Oct-2009 at 18:44:08 +0300, Andriy Gapon wrote: > > > on 01/10/2009 17:49 Andre Albsmeier said the following: > > > > Hello all, > > > > > > > > is it correct to print OK here? > > > > > > > > ------------------ snip ------------------ > > > > > > > > #!/bin/sh > > > > > > > > if false || ! echo bla | grep -q bla; then > > > > echo OK > > > > fi > > > > > > > > ------------------ snap ------------------- > > > > > > > > 7.2-STABLE (can't check others at the moment) > > > > does which I think is wrong... > > > > > > This looks like a bug and it seems to be fixed in head. > > > Forgotten MFC? > > > > Have you got a PR# handy? > > Found it myself: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/bin/sh/parser.c.diff?r1=1.60;r2=1.61 > > seems to be it. Could someone please MFC that to 7.2? Sorry, I'll merge it.