diff options
| author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-15 15:40:14 +0000 |
|---|---|---|
| committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-15 15:40:14 +0000 |
| commit | 526d43b288d6f91e000b34079ef9dbb1aced298e (patch) | |
| tree | 233acb865b478648865562fbdb076245767b31c4 | |
| parent | 0899f2b0a471944fc805f1de85689ee655c6c5fb (diff) | |
merges r21529 from trunk into ruby_1_9_1.
* tool/file2lastrev.rb: RUBY_REVISION must be an integer.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | tool/file2lastrev.rb | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Thu Jan 15 20:44:30 2009 Tanaka Akira <akr@fsij.org> + + * tool/file2lastrev.rb: RUBY_REVISION must be an integer. + Thu Jan 15 15:55:31 2009 Yukihiro Matsumoto <matz@ruby-lang.org> * encoding.c (enc_set_default_encoding): should not treat US-ASCII diff --git a/tool/file2lastrev.rb b/tool/file2lastrev.rb index ea1130470..ddc83e863 100644 --- a/tool/file2lastrev.rb +++ b/tool/file2lastrev.rb @@ -82,7 +82,7 @@ case $output when :changed, nil puts changed when :revision_h - puts "#define RUBY_REVISION #{changed}" + puts "#define RUBY_REVISION #{changed.to_i}" when :doxygen puts "r#{changed}/r#{last}" else |
