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

ruby-changes:26362

From: ngoto <ko1@a...>
Date: Sun, 16 Dec 2012 00:04:43 +0900 (JST)
Subject: [ruby-changes:26362] ngoto:r38413 (trunk): * ext/fiddle/pointer.c (rb_fiddle_ptr2cptr): fix error message forgotten to be changed from DL to Fiddle.

ngoto	2012-12-16 00:04:25 +0900 (Sun, 16 Dec 2012)

  New Revision: 38413

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

  Log:
    * ext/fiddle/pointer.c (rb_fiddle_ptr2cptr): fix error message forgotten to be changed from DL to Fiddle.

  Modified files:
    trunk/ChangeLog
    trunk/ext/fiddle/pointer.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 38412)
+++ ChangeLog	(revision 38413)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Dec 15 23:56:51 2012  Naohisa Goto  <ngotogenome@g...>
+
+	* ext/fiddle/pointer.c (rb_fiddle_ptr2cptr): fix error message
+	  forgotten to be changed from DL to Fiddle.
+
 Sat Dec 15 23:14:32 2012  KOSAKI Motohiro  <kosaki.motohiro@g...>
 
 	* signal.c (default_handler): remove rb_register_sigaltstack()
Index: ext/fiddle/pointer.c
===================================================================
--- ext/fiddle/pointer.c	(revision 38412)
+++ ext/fiddle/pointer.c	(revision 38413)
@@ -117,7 +117,7 @@ rb_fiddle_ptr2cptr(VALUE val) https://github.com/ruby/ruby/blob/trunk/ext/fiddle/pointer.c#L117
 	ptr = NULL;
     }
     else{
-	rb_raise(rb_eTypeError, "DL::PtrData was expected");
+	rb_raise(rb_eTypeError, "Fiddle::Pointer was expected");
     }
 
     return ptr;

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

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