NetBSD Problem Report #29861
From yamt@mwd.biglobe.ne.jp Sat Apr 2 06:30:34 2005
Return-Path: <yamt@mwd.biglobe.ne.jp>
Received: from yamt.dyndns.org (FLA1Aah135.kng.mesh.ad.jp [61.193.101.135])
by narn.netbsd.org (Postfix) with ESMTP id 4282063B11A
for <gnats-bugs@gnats.NetBSD.org>; Sat, 2 Apr 2005 06:30:34 +0000 (UTC)
Message-Id: <1112423423.031060.7184.nullmailer@yamt.dyndns.org>
Date: Sat, 02 Apr 2005 15:30:23 +0900
From: yamt@mwd.biglobe.ne.jp
Reply-To: yamt@mwd.biglobe.ne.jp
To: gnats-bugs@netbsd.org
Subject: sh eval weird behaviour
X-Send-Pr-Version: 3.95
>Number: 29861
>Category: bin
>Synopsis: sh eval weird behaviour
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 02 06:31:00 +0000 2005
>Closed-Date: Thu Jan 01 20:27:48 +0000 2015
>Last-Modified: Thu Jan 01 20:27:48 +0000 2015
>Originator: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release: NetBSD 3.99.3
>Organization:
>Environment:
System: NetBSD kaeru 3.99.3 NetBSD 3.99.3 (build.kaeru.nodebug) #28: Fri Apr 1 22:14:42 JST 2005 takashi@kaeru:/usr/home/takashi/work/kernel/build.kaeru.nodebug i386
Architecture: i386
Machine: i386
>Description:
for the following commands, /bin/sh shows the different results,
depending on with or without eval.
$ ((set -e; false; echo X); echo Y)
Y
$ eval '((set -e; false; echo X); echo Y)'
X
Y
>How-To-Repeat:
see the above and src/regress/bin/sh/set_e.sh.
>Fix:
>Release-Note:
>Audit-Trail:
From: Miwa Susumu <miwarin@gmail.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: bin/29861
Date: Wed, 31 Dec 2014 14:35:41 +0900
Not reproduce.
Is Fixed ?
$ ((set -e; false; echo X); echo Y)
Y
$ eval '((set -e; false; echo X); echo Y)'
Y
$ uname -rsm
NetBSD 6.1.5 i386
--
miwarin
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 01 Jan 2015 20:27:48 +0000
State-Changed-Why:
Yup, fixed.
huh, this is an issue I had been following (this PR is not the only
time it's come up) and I don't remember it getting fixed. must have
missed it.
thanks for noticing :-)
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.