[前][次][番号順一覧][スレッド一覧][生データ]

yarv-diff:93

From: ko1 atdot.net
Date: 20 Aug 2005 01:20:16 -0000
Subject: [yarv-diff:93] r249 - in trunk: . rb

Author: ko1
Date: 2005-08-20 10:20:15 +0900 (Sat, 20 Aug 2005)
New Revision: 249

Modified:
   trunk/ChangeLog
   trunk/rb/ir.rb
   trunk/test.rb
   trunk/version.h
Log:
	* rb/ir.rb : add some check

	* import today's ruby HEAD



Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2005-08-18 14:36:41 UTC (rev 248)
+++ trunk/ChangeLog	2005-08-20 01:20:15 UTC (rev 249)
@@ -4,6 +4,13 @@
 #  from Mon, 03 May 2004 01:24:19 +0900
 #
 
+2005-08-20(Sat) 10:19:27 +0900  Koichi Sasada  <ko1 atdot.net>
+
+	* rb/ir.rb : add some check
+
+	* import today's ruby HEAD
+
+
 2005-08-18(Thu) 23:29:52 +0900  Koichi Sasada  <ko1 atdot.net>
 
 	* common.mk : fix object file extension

Modified: trunk/rb/ir.rb
===================================================================
--- trunk/rb/ir.rb	2005-08-18 14:36:41 UTC (rev 248)
+++ trunk/rb/ir.rb	2005-08-20 01:20:15 UTC (rev 249)
@@ -9,6 +9,8 @@
 end
 
 def diff rubydir, *files
+  raise "specify ruby HEAD directory" unless rubydir
+  
   if files.size == 0
     files = Dir.glob('**/*.[chy]') + Dir.glob('**/*.rb')
   end
@@ -29,9 +31,11 @@
 end
 
 def patch file
-  raise 'specify patched file: #{file.dump}' if !file || !FileTest.exist?(file)
+  raise "specify patched file: #{file.dump}" if !file || !FileTest.exist?(file)
+  raise "no patch file: #{output_filename(file)}" if !FileTest.exist?(output_filename(file))
   cmd = "patch -lp0 --no-backup-if-mismatch -i #{output_filename(file)}"
   puts cmd
+  
   if system(cmd)
     `rm "#{output_filename(file)}"`
   end

Modified: trunk/test.rb
===================================================================
--- trunk/test.rb	2005-08-18 14:36:41 UTC (rev 248)
+++ trunk/test.rb	2005-08-20 01:20:15 UTC (rev 249)
@@ -1,14 +1,4 @@
-IO.popen('sort', 'r+'){|io|
-  io.write %Q{
-    p 1
-    p 3
-    p 2
-  }
-  io.print "\x1a"
 
-  while c = io.read(1)
-    p io.eof?
-    p c
-  end
-}
+class C
+end
 

Modified: trunk/version.h
===================================================================
--- trunk/version.h	2005-08-18 14:36:41 UTC (rev 248)
+++ trunk/version.h	2005-08-20 01:20:15 UTC (rev 249)
@@ -1,14 +1,14 @@
 #define RUBY_VERSION "1.9.0"
-#define RUBY_RELEASE_DATE "2005-08-18"
+#define RUBY_RELEASE_DATE "2005-08-19"
 #define RUBY_VERSION_CODE 190
-#define RUBY_RELEASE_CODE 20050818
+#define RUBY_RELEASE_CODE 20050819
 
 #define RUBY_VERSION_MAJOR 1
 #define RUBY_VERSION_MINOR 9
 #define RUBY_VERSION_TEENY 0
 #define RUBY_RELEASE_YEAR 2005
 #define RUBY_RELEASE_MONTH 8
-#define RUBY_RELEASE_DAY 18
+#define RUBY_RELEASE_DAY 19
 
 RUBY_EXTERN const char ruby_version[];
 RUBY_EXTERN const char ruby_release_date[];


--
ML: yarv-diff quickml.atdot.net
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧][生データ]