ruby-changes:28455
From: zzak <ko1@a...>
Date: Sun, 28 Apr 2013 09:42:20 +0900 (JST)
Subject: [ruby-changes:28455] zzak:r40507 (trunk): * README.EXT: Copy note from r40505 for rb_sprintf() [Bug #7982]
zzak 2013-04-28 09:42:10 +0900 (Sun, 28 Apr 2013) New Revision: 40507 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40507 Log: * README.EXT: Copy note from r40505 for rb_sprintf() [Bug #7982] Modified files: trunk/ChangeLog trunk/README.EXT Index: README.EXT =================================================================== --- README.EXT (revision 40506) +++ README.EXT (revision 40507) @@ -196,6 +196,9 @@ rb_vsprintf(const char *format, va_list https://github.com/ruby/ruby/blob/trunk/README.EXT#L196 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. Index: ChangeLog =================================================================== --- ChangeLog (revision 40506) +++ ChangeLog (revision 40507) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Apr 28 09:40:00 2013 Zachary Scott <zachary@z...> + + * README.EXT: Copy note from r40505 for rb_sprintf() [Bug #7982] + Sun Apr 28 08:28:00 2013 Zachary Scott <zachary@z...> * ext/curses/curses.c: Update Curses::Window example for nicer output -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/