mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* io.c (pipe_open): should pass program name even if multiple
arguments are given. fix for TestProcess::test_argv0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f6e1b6ec74
commit
148f58c2df
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Mar 21 07:25:56 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* io.c (pipe_open): should pass program name even if multiple
|
||||
arguments are given. fix for TestProcess::test_argv0.
|
||||
|
||||
Sat Mar 21 02:37:07 2009 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/openssl/lib/openssl/buffering.rb
|
||||
|
|
2
io.c
2
io.c
|
@ -4755,7 +4755,7 @@ pipe_open(struct rb_exec_arg *eargp, VALUE prog, const char *modestr, int fmode,
|
|||
rb_run_exec_options(eargp, &sarg);
|
||||
}
|
||||
while ((pid = (args ?
|
||||
rb_w32_aspawn(P_NOWAIT, 0, args) :
|
||||
rb_w32_aspawn(P_NOWAIT, cmd, args) :
|
||||
rb_w32_spawn(P_NOWAIT, cmd, 0))) == -1) {
|
||||
/* exec failed */
|
||||
switch (errno) {
|
||||
|
|
Loading…
Reference in a new issue