* 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
@ -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>
|
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.
|
* 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);
|
onig_free(rp);
|
||||||
(void )onig_error_code_to_str((UChar*)err, r, &einfo);
|
(void )onig_error_code_to_str((UChar*)err, r, &einfo);
|
||||||
rb_reg_raise(s, len, err, 0, ce);
|
rb_reg_raise(s, len, err, 0, ce);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
return rp;
|
return rp;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user