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

ruby-changes:12087

From: yugui <ko1@a...>
Date: Sat, 20 Jun 2009 18:06:28 +0900 (JST)
Subject: [ruby-changes:12087] Ruby:r23757 (ruby_1_9_1): merges r23550 from trunk into ruby_1_9_1.

yugui	2009-06-20 18:06:05 +0900 (Sat, 20 Jun 2009)

  New Revision: 23757

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

  Log:
    merges r23550 from trunk into ruby_1_9_1.
    --
    * ext/dl/lib/dl/cparser.rb (DL::CParser#parse_struct_signature):
      splitting with regexp source string is obsolete.  a patch from
      Minwoo Lee at [ruby-core:23494].

  Modified files:
    branches/ruby_1_9_1/ChangeLog
    branches/ruby_1_9_1/ext/dl/lib/dl/cparser.rb
    branches/ruby_1_9_1/version.h

Index: ruby_1_9_1/ChangeLog
===================================================================
--- ruby_1_9_1/ChangeLog	(revision 23756)
+++ ruby_1_9_1/ChangeLog	(revision 23757)
@@ -1,5 +1,9 @@
-Sat May 23 18:48:52 2009  Nobuyoshi Nakada  <nobu@r...>
+Sat May 23 18:53:13 2009  Nobuyoshi Nakada  <nobu@r...>
 
+	* ext/dl/lib/dl/cparser.rb (DL::CParser#parse_struct_signature):
+	  splitting with regexp source string is obsolete.  a patch from
+	  Minwoo Lee at [ruby-core:23494].
+
 	* ext/dl/cptr.c (rb_dlptr_cmp): return signed value, and restric
 	  to Fixnum.  [ruby-dev:38533]
 
Index: ruby_1_9_1/ext/dl/lib/dl/cparser.rb
===================================================================
--- ruby_1_9_1/ext/dl/lib/dl/cparser.rb	(revision 23756)
+++ ruby_1_9_1/ext/dl/lib/dl/cparser.rb	(revision 23757)
@@ -2,7 +2,7 @@
   module CParser
     def parse_struct_signature(signature, tymap=nil)
       if( signature.is_a?(String) )
-        signature = signature.split("\s*,\s*")
+        signature = signature.split(/\s*,\s*/)
       end
       mems = []
       tys  = []
Index: ruby_1_9_1/version.h
===================================================================
--- ruby_1_9_1/version.h	(revision 23756)
+++ ruby_1_9_1/version.h	(revision 23757)
@@ -1,6 +1,6 @@
 #define RUBY_VERSION "1.9.1"
 #define RUBY_RELEASE_DATE "2009-05-22"
-#define RUBY_PATCHLEVEL 155
+#define RUBY_PATCHLEVEL 156
 #define RUBY_VERSION_MAJOR 1
 #define RUBY_VERSION_MINOR 9
 #define RUBY_VERSION_TEENY 1

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

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