diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | tool/make-snapshot | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Fri Nov 7 01:24:20 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * tool/make-snapshot: binary encoding spec is no longer needed in 1.9. + Thu Nov 6 22:21:23 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * thread.c (rb_thread_stop_timer_thread): terminates timer thread diff --git a/tool/make-snapshot b/tool/make-snapshot index 0f0a31fb3e..25d61a7954 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -1,5 +1,5 @@ #!/usr/bin/ruby -s -# -*- encoding: us-ascii -*- +# -*- coding: us-ascii -*- require 'uri' require 'digest/md5' require 'digest/sha2' @@ -197,7 +197,7 @@ end revisions.collect {|rev| package(rev, destdir)}.flatten.each do |name| name or next - str = open(name, "rb:binary") {|f| f.read} + str = open(name, "rb") {|f| f.read} md5 = Digest::MD5.hexdigest str sha = Digest::SHA256.hexdigest str puts "* #{name}" |