mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* re.c (make_regexp): should not return junk address during
compile time. [ruby-dev:26206] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
eb3f829be9
commit
d11b15eb8c
2 changed files with 18 additions and 12 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon May 23 12:21:37 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* re.c (make_regexp): should not return junk address during
|
||||
compile time. [ruby-dev:26206]
|
||||
|
||||
Sun May 22 21:54:06 2005 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
|
||||
|
||||
* lib/{soap,wsdl,xsd}, test/{soap,wsdl,xsd}: imported soap4r/1.5.4.
|
||||
|
|
1
re.c
1
re.c
|
@ -661,6 +661,7 @@ make_regexp(s, len, flags, ce)
|
|||
onig_free(rp);
|
||||
(void )onig_error_code_to_str((UChar*)err, r, &einfo);
|
||||
rb_reg_raise(s, len, err, 0, ce);
|
||||
return 0;
|
||||
}
|
||||
return rp;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue