diff options
| author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-28 16:11:46 +0000 |
|---|---|---|
| committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-28 16:11:46 +0000 |
| commit | aa502dc6c66dbca3a5081fc94146765e3433e801 (patch) | |
| tree | 862279a03e366942e9c624bea52ac566830663f9 | |
| parent | f50e791c028457465ece677f055f2e2092b6e19c (diff) | |
merges r24714 from trunk into ruby_1_9_1.
--
* parse.y (rb_enc_symname2_p): not depend on nul terminator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | parse.y | 2 | ||||
| -rw-r--r-- | version.h | 2 |
3 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Sun Aug 30 16:38:56 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * parse.y (rb_enc_symname2_p): not depend on nul terminator. + Sun Aug 30 01:15:31 2009 NARUSE, Yui <naruse@ruby-lang.org> * ext/zlib/zlib.c (gzfile_read_all): use gzfile_newstr; @@ -9394,7 +9394,7 @@ rb_enc_symname2_p(const char *name, int len, rb_encoding *enc) } break; } - return *m ? Qfalse : Qtrue; + return m == e; } static ID @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.1" -#define RUBY_PATCHLEVEL 307 +#define RUBY_PATCHLEVEL 308 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 9 #define RUBY_VERSION_TEENY 1 |
