summaryrefslogtreecommitdiffstats
path: root/bin/sh/parser.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-01-21 12:50:01 +0000
committerdes <des@FreeBSD.org>2004-01-21 12:50:01 +0000
commit5bed8122fd9ad3746f9f6139eac42ce5041f08f4 (patch)
tree45b894f449c0d20308caae0992208804c1312206 /bin/sh/parser.c
parentc939cff38891929d64b9b5a0d14e2cd42623a789 (diff)
downloadFreeBSD-src-5bed8122fd9ad3746f9f6139eac42ce5041f08f4.zip
FreeBSD-src-5bed8122fd9ad3746f9f6139eac42ce5041f08f4.tar.gz
Replace home-grown dup2() implementation with actual dup2() calls. This
should slightly reduce the number of system calls in critical portions of the shell, and select a more efficient path through the fdalloc code. Reviewed by: bde
Diffstat (limited to 'bin/sh/parser.c')
-rw-r--r--bin/sh/parser.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/sh/parser.c b/bin/sh/parser.c
index da166e6..70ac6ba 100644
--- a/bin/sh/parser.c
+++ b/bin/sh/parser.c
@@ -48,7 +48,6 @@ __FBSDID("$FreeBSD$");
#include "parser.h"
#include "nodes.h"
#include "expand.h" /* defines rmescapes() */
-#include "redir.h" /* defines copyfd() */
#include "syntax.h"
#include "options.h"
#include "input.h"
OpenPOWER on IntegriCloud