diff options
author | Chet Ramey <chet.ramey@case.edu> | 2011-12-12 22:10:58 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2011-12-12 22:10:58 -0500 |
commit | 510e20a25241adfd62cc3b6e7fa9b209658e7bc7 (patch) | |
tree | 2b735c7bea02c5b80e08098657060106f779f02d /execute_cmd.c | |
parent | adc6cff53c2ef3341775f590ce36f96a28ea73f0 (diff) | |
download | bash-510e20a25241adfd62cc3b6e7fa9b209658e7bc7.tar.gz |
commit bash-20101210 snapshot
Diffstat (limited to 'execute_cmd.c')
-rw-r--r-- | execute_cmd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/execute_cmd.c b/execute_cmd.c index 1795c547..9a4aaffe 100644 --- a/execute_cmd.c +++ b/execute_cmd.c @@ -684,6 +684,7 @@ execute_command_internal (command, asynchronous, pipe_in, pipe_out, if (redirection_undo_list) { + /* XXX - why copy here? */ my_undo_list = (REDIRECT *)copy_redirects (redirection_undo_list); dispose_redirects (redirection_undo_list); redirection_undo_list = (REDIRECT *)NULL; @@ -693,6 +694,7 @@ execute_command_internal (command, asynchronous, pipe_in, pipe_out, if (exec_redirection_undo_list) { + /* XXX - why copy here? */ exec_undo_list = (REDIRECT *)copy_redirects (exec_redirection_undo_list); dispose_redirects (exec_redirection_undo_list); exec_redirection_undo_list = (REDIRECT *)NULL; |