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

ruby-changes:28453

From: zzak <ko1@a...>
Date: Sun, 28 Apr 2013 08:11:29 +0900 (JST)
Subject: [ruby-changes:28453] zzak:r40505 (trunk): * README.EXT: Update note from r40504, by Jeremy Evans [Bug #7982]

zzak	2013-04-28 08:11:19 +0900 (Sun, 28 Apr 2013)

  New Revision: 40505

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

  Log:
    * README.EXT: Update note from r40504, by Jeremy Evans [Bug #7982]

  Modified files:
    trunk/ChangeLog
    trunk/README.EXT

Index: README.EXT
===================================================================
--- README.EXT	(revision 40504)
+++ README.EXT	(revision 40505)
@@ -1366,7 +1366,8 @@ void rb_bug(const char *fmt, ...) :: https://github.com/ruby/ruby/blob/trunk/README.EXT#L1366
   called under the situation caused by the bug in the interpreter.  No
   exception handling nor ensure execution will be done.
 
-Note: You can't use %i or variations of int with the fmt string message.
+Note: In the fmt string message, %i is used for Object#inspect output (and
+related argument must be a VALUE).  For integers in format strings, use %d.
 
 == Initialize and Start the Interpreter
 
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 40504)
+++ ChangeLog	(revision 40505)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Apr 28 08:10:00 2013  Zachary Scott  <zachary@z...>
+
+	* README.EXT: Update note from r40504, by Jeremy Evans [Bug #7982]
+
 Sun Apr 28 08:02:00 2013  Zachary Scott  <zachary@z...>
 
 	* README.EXT: Add note to warn use of %i in Exceptions [Bug #7982]

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

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