diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-06 12:34:51 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-06 12:34:51 +0000 |
commit | 7f83b7e14f3dc2b4a7590d6ba6805ba628f64a9f (patch) | |
tree | c4b4f6ebf8d35aa34d7087638d34c6ea8494b676 /process.c | |
parent | 3c3b563205c91ae38036d76e8c48bfd4a9980f0d (diff) | |
download | ruby-7f83b7e14f3dc2b4a7590d6ba6805ba628f64a9f.tar.gz |
remove wrong comments.
earg is processed by surrounding rb_run_exec_options_err call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3176,11 +3176,11 @@ rb_spawn_process(struct rb_exec_arg *earg, char *errmsg, size_t errmsg_buflen) } # if defined HAVE_SPAWNV if (earg->use_shell) { - pid = proc_spawn_sh(RSTRING_PTR(prog)); /* xxx: earg is ignored. */ + pid = proc_spawn_sh(RSTRING_PTR(prog)); } else { char **argv = ARGVSTR2ARGV(earg->invoke.cmd.argv_str); - pid = proc_spawn_cmd(argv, prog, earg->options); /* xxx: earg (except options) is ignored. */ + pid = proc_spawn_cmd(argv, prog, earg->options); } # if defined(_WIN32) if (pid == -1) @@ -3192,7 +3192,7 @@ rb_spawn_process(struct rb_exec_arg *earg, char *errmsg, size_t errmsg_buflen) int argc = ARGVSTR2ARGC(earg->invoke.cmd.argv_str); prog = rb_ary_join(rb_ary_new4(argc, argv), rb_str_new2(" ")); } - status = system(StringValuePtr(prog)); /* xxx: earg is ignored. */ + status = system(StringValuePtr(prog)); rb_last_status_set((status & 0xff) << 8, 0); # endif |