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

ruby-changes:5163

From: matz <ko1@a...>
Date: Wed, 28 May 2008 15:05:35 +0900 (JST)
Subject: [ruby-changes:5163] Ruby:r16658 (ruby_1_8): * error.c (rb_bug): description from rb_bug() should include

matz	2008-05-28 15:05:16 +0900 (Wed, 28 May 2008)

  New Revision: 16658

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/error.c

  Log:
    * error.c (rb_bug): description from rb_bug() should include
      patchlevel.  [ruby-dev:34826]

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/error.c?r1=16658&r2=16657&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=16658&r2=16657&diff_format=u

Index: ruby_1_8/error.c
===================================================================
--- ruby_1_8/error.c	(revision 16657)
+++ ruby_1_8/error.c	(revision 16658)
@@ -30,6 +30,7 @@
 #endif
 
 extern const char ruby_version[], ruby_release_date[], ruby_platform[];
+extern const int ruby_patchlevel;
 
 int ruby_nerrs;
 
@@ -208,8 +209,8 @@
 	va_init_list(args, fmt);
 	vfprintf(out, fmt, args);
 	va_end(args);
-	fprintf(out, "\nruby %s (%s) [%s]\n\n",
-		ruby_version, ruby_release_date, ruby_platform);
+	fprintf(out, "\nruby %s (%s patchlevel %d) [%s]\n\n",
+		ruby_version, ruby_release_date, ruby_patchlevel, ruby_platform);
     }
     abort();
 }
Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 16657)
+++ ruby_1_8/ChangeLog	(revision 16658)
@@ -5,6 +5,11 @@
 
 	* object.c (convert_type): ditto.
 
+Tue May 27 23:26:49 2008  Yukihiro Matsumoto  <matz@r...>
+
+	* error.c (rb_bug): description from rb_bug() should include
+	  patchlevel.  [ruby-dev:34826]
+
 Tue May 27 20:19:22 2008  Akinori MUSHA  <knu@i...>
 
 	* array.c (rb_ary_slice_bang): Return an empty array instead of

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

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