diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-23 01:43:51 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-23 01:43:51 +0000 |
commit | 40ae2e01084849672cc14feae3086526a85ac70e (patch) | |
tree | 7abb756ef35b37dfad30aeeb7d60733bde8b1262 /internal.h | |
parent | 2a15a26c57faf4852a3f9b0afaafa886a78e7c96 (diff) |
* internal.h (rb_execarg): add unsetenv_others_given and
unsetenv_others_do fields.
* process.c (EXEC_OPTION_UNSETENV_OTHERS): removed.
(rb_execarg_addopt): update the new fields, instead of options array.
(rb_execarg_fixup): use the new fields.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal.h b/internal.h index 3d7a68c95b..945599e699 100644 --- a/internal.h +++ b/internal.h @@ -178,6 +178,8 @@ struct rb_execarg { VALUE dup2_tmpbuf; unsigned pgroup_given : 1; unsigned umask_given : 1; + unsigned unsetenv_others_given : 1; + unsigned unsetenv_others_do : 1; pid_t pgroup_pgid; /* asis(-1), new pgroup(0), specified pgroup (0<V). */ mode_t umask_mask; }; |