diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | re.c | 2 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Sun Jun 15 21:59:22 2008 Yukihiro Matsumoto <matz@ruby-lang.org> + + * re.c (rb_reg_quote): should always copy the quoting string. + [ruby-core:16235] + Sun Jun 15 21:27:46 2008 Yukihiro Matsumoto <matz@ruby-lang.org> * lib/net/pop.rb (Net::POP3::do_finish): clear @n_mails and @@ -1754,7 +1754,7 @@ rb_reg_quote(str) goto meta_found; } } - return str; + return rb_str_new3(str); meta_found: tmp = rb_str_new(0, RSTRING(str)->len*2); @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2008-06-15" #define RUBY_VERSION_CODE 186 #define RUBY_RELEASE_CODE 20080615 -#define RUBY_PATCHLEVEL 192 +#define RUBY_PATCHLEVEL 193 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 |