From 0646c1e0d6fbb414203948ace6485428d28b5bea Mon Sep 17 00:00:00 2001 From: mame Date: Tue, 2 Dec 2008 17:05:46 +0000 Subject: [PATCH] * ext/pty/pty.c (Init_pty): fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ ext/pty/pty.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 319e9dfdc7..5876e0309c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Dec 3 02:04:21 2008 Yusuke Endoh + + * ext/pty/pty.c (Init_pty): fix typo. + Tue Dec 2 19:22:13 2008 Tanaka Akira * lib/open3.rb (Open3.popen3): merge hash options if given. diff --git a/ext/pty/pty.c b/ext/pty/pty.c index f0b8e66595..46278991a3 100644 --- a/ext/pty/pty.c +++ b/ext/pty/pty.c @@ -438,7 +438,7 @@ Init_pty() cPTY = rb_define_module("PTY"); rb_define_module_function(cPTY,"getpty",pty_getpty,-1); rb_define_module_function(cPTY,"spawn",pty_getpty,-1); - rb_define_singleton_function(cPTY,"check",pty_check,-1); + rb_define_singleton_method(cPTY,"check",pty_check,-1); eChildExited = rb_define_class_under(cPTY,"ChildExited",rb_eRuntimeError); rb_define_method(eChildExited,"status",echild_status,0);