[前][次][番号順一覧][スレッド一覧]

ruby-changes:8914

From: mame <ko1@a...>
Date: Wed, 3 Dec 2008 02:06:03 +0900 (JST)
Subject: [ruby-changes:8914] Ruby:r20449 (trunk): * ext/pty/pty.c (Init_pty): fix typo.

mame	2008-12-03 02:05:46 +0900 (Wed, 03 Dec 2008)

  New Revision: 20449

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20449

  Log:
    * ext/pty/pty.c (Init_pty): fix typo.

  Modified files:
    trunk/ChangeLog
    trunk/ext/pty/pty.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 20448)
+++ ChangeLog	(revision 20449)
@@ -1,3 +1,7 @@
+Wed Dec  3 02:04:21 2008  Yusuke Endoh  <mame@t...>
+
+	* ext/pty/pty.c (Init_pty): fix typo.
+
 Tue Dec  2 19:22:13 2008  Tanaka Akira  <akr@f...>
 
 	* lib/open3.rb (Open3.popen3): merge hash options if given. 
Index: ext/pty/pty.c
===================================================================
--- ext/pty/pty.c	(revision 20448)
+++ ext/pty/pty.c	(revision 20449)
@@ -438,7 +438,7 @@
     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);

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]