diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-19 09:01:35 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-19 09:01:35 +0000 |
commit | aa98314cd1b06f60c8a5ad5fdbfb090e72804359 (patch) | |
tree | 11d3ea8cf4a10337f33c71969046b2ccd1de6184 | |
parent | d7f27048486999f5d8c81223c0f10e3243487bbb (diff) |
merge revision(s) 20581:
* pack.c (pack_pack): fixed odd act of 'm*', 'M*', and 'P*'.
just ignores '*' in these cases.
[ruby-dev:37289]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | pack.c | 4 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 10 insertions, 2 deletions
@@ -1,3 +1,9 @@ +Thu Feb 19 17:52:42 2009 Yuki Sonoda (Yugui) <[email protected]> + + * pack.c (pack_pack): fixed odd act of 'm*', 'M*', and 'P*'. + just ignores '*' in these cases. + [ruby-dev:37289] + Thu Feb 19 17:24:30 2009 Nobuyoshi Nakada <[email protected]> * pack.c (pack_pack): fixed length for odd length string. @@ -494,7 +494,9 @@ pack_pack(ary, fmt) } } if (*p == '*') { /* set data length */ - len = strchr("@Xxu", type) ? 0 : items; + len = strchr("@Xxu", type) ? 0 + : strchr("PMm", type) ? 1 + : items; p++; } else if (ISDIGIT(*p)) { @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2009-02-19" #define RUBY_VERSION_CODE 186 #define RUBY_RELEASE_CODE 20090219 -#define RUBY_PATCHLEVEL 342 +#define RUBY_PATCHLEVEL 343 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 |