commit | 9dc09c766463333ca51311a2db86fd67f4fec19b | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <spearce@spearce.org> | Mon Mar 12 14:37:28 2007 -0400 |
committer | Junio C Hamano <junkio@cox.net> | Mon Mar 12 16:31:35 2007 -0700 |
tree | 80b28324813c28d2dfdbfa89904937423cb96851 | |
parent | 1358e7d670306a9fe8a612f1ebd1f058474d20af [diff] |
Simplify closing two fds at once in run-command.c I started hacking on a change to add stdout redirection support to the run_command family, but found I was using a lot of close calls on two pipes in an array (such as for pipe). So I'm doing a tiny bit of refactoring first to make the next set of changes clearer. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>