summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--README.EXT3
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 77f5c11..b3b3252 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Apr 28 09:40:00 2013 Zachary Scott <zachary@zacharyscott.net>
+
+ * README.EXT: Copy note from r40505 for rb_sprintf() [Bug #7982]
+
Sun Apr 28 08:28:00 2013 Zachary Scott <zachary@zacharyscott.net>
* ext/curses/curses.c: Update Curses::Window example for nicer output
diff --git a/README.EXT b/README.EXT
index 94849cd..404cea7 100644
--- a/README.EXT
+++ b/README.EXT
@@ -196,6 +196,9 @@ rb_vsprintf(const char *format, va_list ap) ::
Creates a new Ruby string with printf(3) format.
+ Note: In the format string, %i is used for Object#inspect output (and related
+ argument must be a VALUE). For integers in format strings, use %d.
+
rb_str_cat(VALUE str, const char *ptr, long len) ::
Appends len bytes of data from ptr to the Ruby string.