Module Name:    src
Committed By:   christos
Date:           Thu Jun  3 16:06:48 UTC 2010

Modified Files:
        src/bin/sh: eval.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 src/bin/sh/eval.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/bin/sh/eval.c
diff -u src/bin/sh/eval.c:1.98 src/bin/sh/eval.c:1.99
--- src/bin/sh/eval.c:1.98	Wed Oct  7 14:12:11 2009
+++ src/bin/sh/eval.c	Thu Jun  3 12:06:48 2010
@@ -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;
 }

Reply via email to