From owner-freebsd-stable@FreeBSD.ORG Thu Oct 1 15:44:13 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 893CE1065696 for ; Thu, 1 Oct 2009 15:44:13 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id B61C48FC39 for ; Thu, 1 Oct 2009 15:44:12 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id SAA08301; Thu, 01 Oct 2009 18:44:09 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4AC4CE48.3080803@icyb.net.ua> Date: Thu, 01 Oct 2009 18:44:08 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20090825) MIME-Version: 1.0 To: Andre Albsmeier References: <20091001144946.GA75477@curry.mchp.siemens.de> In-Reply-To: <20091001144946.GA75477@curry.mchp.siemens.de> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org 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: Thu, 01 Oct 2009 15:44:13 -0000 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? -- Andriy Gapon