Date: Wed, 21 Jan 2004 04:50:01 -0800 (PST) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/sh eval.c input.c parser.c redir.c redir.h Message-ID: <200401211250.i0LCo1sQ039371@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
des 2004/01/21 04:50:01 PST FreeBSD src repository Modified files: bin/sh eval.c input.c parser.c redir.c redir.h Log: 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 Revision Changes Path 1.40 +4 -8 src/bin/sh/eval.c 1.21 +1 -1 src/bin/sh/input.c 1.50 +0 -1 src/bin/sh/parser.c 1.25 +8 -32 src/bin/sh/redir.c 1.9 +0 -1 src/bin/sh/redir.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401211250.i0LCo1sQ039371>