mirror of
https://git.busybox.net/busybox.git
synced 2024-11-24 06:03:27 +08:00
hush: add a FIXME comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
9acd63c92c
commit
d1b845706d
@ -8173,6 +8173,12 @@ static NOINLINE int run_pipe(struct pipe *pi)
|
||||
rcode = 1; /* exitcode if redir failed */
|
||||
if (setup_redirects(command, &squirrel) == 0) {
|
||||
debug_printf_exec(": run_list\n");
|
||||
//FIXME: we need to pass squirrel down into run_list()
|
||||
//for SH_STANDALONE case, or else this construct:
|
||||
// { find /proc/self/fd; true; } >FILE; cmd2
|
||||
//has no way of closing saved fd#1 for "find",
|
||||
//and in SH_STANDALONE mode, "find" is not execed,
|
||||
//therefore CLOEXEC on saved fd does not help.
|
||||
rcode = run_list(command->group) & 0xff;
|
||||
}
|
||||
restore_redirects(squirrel);
|
||||
|
Loading…
Reference in New Issue
Block a user