From 47cf02ca265470069667a04c5a472e2d36d93cf3 Mon Sep 17 00:00:00 2001 From: mame Date: Tue, 2 Dec 2008 17:05:46 +0000 Subject: * ext/pty/pty.c (Init_pty): fix typo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/pty/pty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/pty/pty.c b/ext/pty/pty.c index f0b8e6659..46278991a 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); -- cgit