Module Name: src
Committed By: kre
Date: Tue May 9 04:08:38 UTC 2017
Modified Files:
src/bin/sh: eval.c
Log Message:
Remove a now unnecessary (ater the changes in 1.136) clearing of EV_EXIT.
(NFC, but should save a byte or two of code space.)
To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 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.137 src/bin/sh/eval.c:1.138
--- src/bin/sh/eval.c:1.137 Tue May 9 03:41:18 2017
+++ src/bin/sh/eval.c Tue May 9 04:08:37 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: eval.c,v 1.137 2017/05/09 03:41:18 kre Exp $ */
+/* $NetBSD: eval.c,v 1.138 2017/05/09 04:08:37 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.137 2017/05/09 03:41:18 kre Exp $");
+__RCSID("$NetBSD: eval.c,v 1.138 2017/05/09 04:08:37 kre Exp $");
#endif
#endif /* not lint */
@@ -476,8 +476,7 @@ evalcase(union node *n, int flags)
else
ncp = NULL;
evaltree(cp->nclist.body,
- ncp ? (flags & ~EV_EXIT) | EV_MORE
- : flags );
+ ncp ? (flags | EV_MORE) : flags);
status = exitstatus;
cp = ncp;
}