Date: Thu, 8 Oct 2009 19:32:21 +0200 From: Stefan Farfeleder <stefan@fafoe.narf.at> To: Andre Albsmeier <Andre.Albsmeier@siemens.com> Cc: freebsd-stable@freebsd.org, Andriy Gapon <avg@icyb.net.ua> Subject: Re: Bug in 7.2-STABLE's /bin/sh? Message-ID: <20091008173221.GA1704@lizard.fafoe.narf.at> In-Reply-To: <20091001191219.GA77569@curry.mchp.siemens.de> References: <20091001144946.GA75477@curry.mchp.siemens.de> <4AC4CE48.3080803@icyb.net.ua> <20091001183101.GB76820@curry.mchp.siemens.de> <20091001191219.GA77569@curry.mchp.siemens.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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? > > Thanks, Done! (to stable/7, that is)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091008173221.GA1704>