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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
zzak 2013-04-27 23:11:19 +00:00
Родитель 817dda53ed
Коммит e781aeef96
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -1,3 +1,7 @@
Sun Apr 28 08:10:00 2013 Zachary Scott <zachary@zacharyscott.net>
* README.EXT: Update note from r40504, by Jeremy Evans [Bug #7982]
Sun Apr 28 08:02:00 2013 Zachary Scott <zachary@zacharyscott.net>
* README.EXT: Add note to warn use of %i in Exceptions [Bug #7982]

Просмотреть файл

@ -1366,7 +1366,8 @@ void rb_bug(const char *fmt, ...) ::
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