diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-06 11:49:30 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-06 11:49:30 +0000 |
commit | 70232e400cae3509b6b816e3c8beed8be6f55dd7 (patch) | |
tree | 795c68ef6e0d0fd7cca79c3d794d31a3cbdf59cd /internal.h | |
parent | 7685837427e60770d7228cc1d3db97257521a606 (diff) |
* process.c (proc_exec_v): don't call dln_find_exe_r here because it
is not async-signal-safe and proc_exec_v is called in a child
process.
command_abspath field of rb_exec_arg.
(rb_exec_fillarg): call dln_find_exe_r and set command_abspath.
(rb_exec_err): Give the absolute path of the invoking command for
proc_exec_v, instead of the command name.
* internal.h: add command_abspath field for rb_exec_arg.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h index 6a988c95c6..9ef4fba661 100644 --- a/internal.h +++ b/internal.h @@ -167,6 +167,7 @@ struct rb_exec_arg { } sh; struct { VALUE command_name; + VALUE command_abspath; /* full path string or nil */ VALUE argv_str; VALUE argv_buf; } cmd; |