diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-05-06 15:06:00 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-05-06 15:06:00 +0000 |
commit | 7cac8a63655ad829b915144f447681cb6b25cbe8 (patch) | |
tree | 8d7e184fd63610124717df8dec31e719901965ad /ext/pty | |
parent | 34b2868fef4ea1159f0441cab4c30738e101eec7 (diff) | |
download | ruby-7cac8a63655ad829b915144f447681cb6b25cbe8.tar.gz ruby-7cac8a63655ad829b915144f447681cb6b25cbe8.tar.xz ruby-7cac8a63655ad829b915144f447681cb6b25cbe8.zip |
forgot some checkins.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pty')
-rw-r--r-- | ext/pty/pty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pty/pty.c b/ext/pty/pty.c index 66907416e..12063f958 100644 --- a/ext/pty/pty.c +++ b/ext/pty/pty.c @@ -452,7 +452,7 @@ pty_getpty(self, shell) wfptr->f = fdopen(dup(info.fd), "w"); wfptr->path = strdup(RSTRING(shell)->ptr); - res = rb_ary_new2(2); + res = rb_ary_new2(3); rb_ary_store(res,0,(VALUE)rport); rb_ary_store(res,1,(VALUE)wport); rb_ary_store(res,2,INT2FIX(info.child_pid)); |