aboutsummaryrefslogtreecommitdiffhomepage
path: root/exec.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-01-07 14:56:41 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-01-07 14:56:41 -0800
commit906d23560126c02d4b489c305112d443a85813b3 (patch)
tree786deb321424fa464d300cf285464ec14cfd88af /exec.cpp
parente045eabad63e40684fcb335247ed6cfe0ec5493a (diff)
Add more expository comments to eval, and remove a useless parameter
Diffstat (limited to 'exec.cpp')
-rw-r--r--exec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.cpp b/exec.cpp
index 62523a8c..7f108e2b 100644
--- a/exec.cpp
+++ b/exec.cpp
@@ -767,7 +767,7 @@ void exec_job(parser_t &parser, job_t *j)
However, eval does this:
- echo "begin; $argv "\n" ;end eval2_inner <&3 3<&-" | source 3<&0
+ echo "begin; $argv "\n" ;end <&3 3<&-" | source 3<&0
which depends on the redirection being evaluated before the pipe. So the write end of the pipe comes first, the read pipe of the pipe comes last. See issue #966.
*/