diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-06-11 06:30:01 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-06-11 06:30:01 +0000 |
commit | be83b8be34318b74544d435305cb98689eae8089 (patch) | |
tree | e83027e2d8b4a3ab3435eaf9eb345ced538d3ca8 /ext/pty | |
parent | ecfa8525662a6c9d0570c2ac53cfbeb809a62e8f (diff) |
990611
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pty')
-rw-r--r-- | ext/pty/pty.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/pty/pty.c b/ext/pty/pty.c index 6462c3c7ca..0438ca7e9b 100644 --- a/ext/pty/pty.c +++ b/ext/pty/pty.c @@ -442,12 +442,10 @@ pty_getpty(self, shell) rfptr->mode = rb_io_mode_flags("r"); rfptr->f = fdopen(info.fd, "r"); rfptr->path = strdup(RSTRING(shell)->ptr); - rb_obj_call_init((VALUE)rport, 1, &shell); wfptr->mode = rb_io_mode_flags("w"); wfptr->f = fdopen(dup(info.fd), "w"); wfptr->path = strdup(RSTRING(shell)->ptr); - rb_obj_call_init((VALUE)wport, 1, &shell); res = rb_ary_new2(2); rb_ary_store(res,0,(VALUE)rport); |