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. + Mon Nov 10 09:56:20 2008 NAKAMURA Usaku <usa@ruby-lang.org> * win32/win32.c (ifs_open_socket): should retry without proto_buffer diff --git a/tool/make-snapshot b/tool/make-snapshot index 0f0a31fb3..25d61a795 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}" |
