Module Name:    src
Committed By:   kre
Date:           Thu Apr 23 09:01:33 UTC 2020

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

Log Message:
Stop forcing the -e option off in the subshell createds for a command
substitution.  This was inherited in the big "-e" fixup patch set (rev 1.50)
of Jan 2000, which came from dash.   dash no longer acts this way.


To generate a diff of this commit:
cvs rdiff -u -r1.178 -r1.179 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.178 src/bin/sh/eval.c:1.179
--- src/bin/sh/eval.c:1.178	Tue Feb  4 16:06:59 2020
+++ src/bin/sh/eval.c	Thu Apr 23 09:01:33 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: eval.c,v 1.178 2020/02/04 16:06:59 kre Exp $	*/
+/*	$NetBSD: eval.c,v 1.179 2020/04/23 09:01:33 kre 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.178 2020/02/04 16:06:59 kre Exp $");
+__RCSID("$NetBSD: eval.c,v 1.179 2020/04/23 09:01:33 kre Exp $");
 #endif
 #endif /* not lint */
 
@@ -771,7 +771,6 @@ evalbackcmd(union node *n, struct backcm
 			FORCEINTON;
 			close(pip[0]);
 			movefd(pip[1], 1);
-			eflag = 0;
 			evaltree(n, EV_EXIT);
 			/* NOTREACHED */
 		}

Reply via email to