[前][次][番号順一覧][スレッド一覧]

ruby-changes:8583

From: nobu <ko1@a...>
Date: Fri, 7 Nov 2008 01:25:27 +0900 (JST)
Subject: [ruby-changes:8583] Ruby:r20118 (trunk): * tool/make-snapshot: binary encoding spec is no longer needed in 1.9.

nobu	2008-11-07 01:24:32 +0900 (Fri, 07 Nov 2008)

  New Revision: 20118

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20118

  Log:
    * tool/make-snapshot: binary encoding spec is no longer needed in 1.9.

  Modified files:
    trunk/ChangeLog
    trunk/tool/make-snapshot

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 20117)
+++ ChangeLog	(revision 20118)
@@ -1,3 +1,7 @@
+Fri Nov  7 01:24:20 2008  Nobuyoshi Nakada  <nobu@r...>
+
+	* tool/make-snapshot: binary encoding spec is no longer needed in 1.9.
+
 Thu Nov  6 22:21:23 2008  Nobuyoshi Nakada  <nobu@r...>
 
 	* thread.c (rb_thread_stop_timer_thread): terminates timer thread
Index: tool/make-snapshot
===================================================================
--- tool/make-snapshot	(revision 20117)
+++ tool/make-snapshot	(revision 20118)
@@ -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 @@
 
 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}"

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]