diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-20 09:06:05 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-20 09:06:05 +0000 |
commit | a1bfd01aeecc61f8f672498bf1c296af60dce78b (patch) | |
tree | 7caa04b5f84e9dee86a81d851faf4c9745f97366 | |
parent | 972e0b2b31da33e4a5c7e731d5cc64ed337fcc1a (diff) |
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].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ext/dl/lib/dl/cparser.rb | 2 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 7 insertions, 3 deletions
@@ -1,4 +1,8 @@ -Sat May 23 18:48:52 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> +Sat May 23 18:53:13 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * 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] diff --git a/ext/dl/lib/dl/cparser.rb b/ext/dl/lib/dl/cparser.rb index fb75d9b205..a9bdb2e0f6 100644 --- a/ext/dl/lib/dl/cparser.rb +++ b/ext/dl/lib/dl/cparser.rb @@ -2,7 +2,7 @@ module DL 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 = [] @@ -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 |