summary refs log tree commit diff
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2010-07-06 17:46:06 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2010-07-06 17:46:06 +0800
commita0212c5dcdd8f2bb69834f2638cddb427dea78a6 (patch)
tree7e818ab7754ab70f4b892e2b32a3f174768b7cda
parent[VAR] Fix loss of variables when hash collides (diff)
downloaddash-a0212c5dcdd8f2bb69834f2638cddb427dea78a6.tar.gz
dash-a0212c5dcdd8f2bb69834f2638cddb427dea78a6.zip
[EVAL] Removed dead code for eval NPIPE
The notyet code is identical to the current code.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
-rw-r--r--ChangeLog1
-rw-r--r--src/eval.c6
2 files changed, 1 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 48436b2..3f5e24c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2010-07-06  Herbert Xu <herbert@gondor.apana.org.au>
 
 	* Fix loss of variables when hash collides.
+	* Removed dead code for eval NPIPE.
 
 2010-06-28  Gerrit Pape <pape@smarden.org>
 
diff --git a/src/eval.c b/src/eval.c
index d142412..58739f5 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -254,13 +254,7 @@ checkexit:
 		goto calleval;
 	case NPIPE:
 		evalfn = evalpipe;
-#ifdef notyet
-		if (eflag && !(flags & EV_TESTED))
-			checkexit = ~0;
-		goto calleval;
-#else
 		goto checkexit;
-#endif
 	case NCASE:
 		evalfn = evalcase;
 		goto calleval;