From 5bed8122fd9ad3746f9f6139eac42ce5041f08f4 Mon Sep 17 00:00:00 2001 From: des Date: Wed, 21 Jan 2004 12:50:01 +0000 Subject: 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 --- bin/sh/redir.h | 1 - 1 file changed, 1 deletion(-) (limited to 'bin/sh/redir.h') diff --git a/bin/sh/redir.h b/bin/sh/redir.h index e786004..d063ecf 100644 --- a/bin/sh/redir.h +++ b/bin/sh/redir.h @@ -46,5 +46,4 @@ void redirect(union node *, int); void popredir(void); int fd0_redirected_p(void); void clearredir(void); -int copyfd(int, int); -- cgit v1.1