diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-01-30 12:47:08 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-01-30 12:47:08 +0000 |
commit | 2bdd8561e604f9dd5c83bca0e6014720cb397592 (patch) | |
tree | 6ef81be9b153b6bb13513ec9e3d19a99b2f9cd18 | |
parent | 5b928320753e20daa7b9ddcac1c3c3e7f8651286 (diff) |
merges r25318 from trunk into ruby_1_9_1.
--
* parse.y (parser_magic_comment): fixed normalization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26483 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 @@ +Tue Oct 13 18:20:57 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * parse.y (parser_magic_comment): fixed normalization. + Mon Oct 12 23:27:57 2009 Shugo Maeda <shugo@ruby-lang.org> * lib/net/ftp.rb (login): use "anonymous@" as a default password. @@ -6332,7 +6332,7 @@ parser_magic_comment(struct parser_params *parser, const char *str, int len) str_copy(name, beg, n); s = RSTRING_PTR(name); for (i = 0; i < n; ++i) { - if (*s == '-') *s = '_'; + if (s[i] == '-') s[i] = '_'; } #ifndef RIPPER do { @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.1" -#define RUBY_PATCHLEVEL 388 +#define RUBY_PATCHLEVEL 389 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 9 #define RUBY_VERSION_TEENY 1 |