1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
yugui 2009-06-20 09:06:05 +00:00
parent 972e0b2b31
commit a1bfd01aee
3 changed files with 7 additions and 3 deletions

View file

@ -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]

View file

@ -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 = []

View file

@ -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