Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/sh set -e is supposed to work inside eval; skip EV_TESTED.



details:   https://anonhg.NetBSD.org/src/rev/8e6c01c926b2
branches:  trunk
changeset: 755376:8e6c01c926b2
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jun 03 16:06:48 2010 +0000

description:
set -e is supposed to work inside eval; skip EV_TESTED.

diffstat:

 bin/sh/eval.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r eb7399872eea -r 8e6c01c926b2 bin/sh/eval.c
--- a/bin/sh/eval.c     Thu Jun 03 16:06:19 2010 +0000
+++ b/bin/sh/eval.c     Thu Jun 03 16:06:48 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: eval.c,v 1.98 2009/10/07 18:12:11 christos Exp $       */
+/*     $NetBSD: eval.c,v 1.99 2010/06/03 16:06:48 christos Exp $       */
 
 /*-
  * Copyright (c) 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)eval.c     8.9 (Berkeley) 6/8/95";
 #else
-__RCSID("$NetBSD: eval.c,v 1.98 2009/10/07 18:12:11 christos Exp $");
+__RCSID("$NetBSD: eval.c,v 1.99 2010/06/03 16:06:48 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -180,7 +180,7 @@
                         STPUTC('\0', concat);
                         p = grabstackstr(concat);
                 }
-                evalstring(p, EV_TESTED);
+                evalstring(p, 0);
         }
         return exitstatus;
 }



Home | Main Index | Thread Index | Old Index