aboutsummaryrefslogtreecommitdiffstats
path: root/ext/-test-/printf/printf.c
Commit message (Collapse)AuthorAgeFilesLines
* printf.c: uint_to_strnobu2015-04-141-3/+3
| | | | | | | * ext/-test-/printf/printf.c (uint_to_str): renamed to get rid of conflict on cygwin. [ruby-core:68877] [Bug #11065] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/-test-/printf/printf.c, test/-ext-/test_printf.rb: removenobu2014-11-041-9/+0
| | | | | | test for snprintf(3). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* printf.c: suppress warningsnobu2014-05-301-2/+2
| | | | | | | * ext/-test-/printf/printf.c (printf_test_call): suppress maybe-uninitialized warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vsnprintf.c: fix string precisionnobu2014-05-251-5/+15
| | | | | | | | | * vsnprintf.c (BSD_vfprintf): fix string width when precision is given. as the result of `memchr` is NULL or its offset from the start cannot exceed the size, the comparison was always false. [ruby-core:62737] [Bug #9861] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/-test-/printf/printf.c (printf_test_call): Fix an end of bufferakr2013-09-201-1/+1
| | | | | | | | argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vsnprintf.c: initialize cpnobu2013-09-191-0/+62
| | | | | | | * vsnprintf.c (BSD_vfprintf): initialize cp so that size is 0 in the commented case. fix an accidental bug at r16716. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sprintf.c: QUOTE flagnobu2013-07-301-0/+7
| | | | | | | * sprintf.c (ruby__sfvextra): add QUOTE flag to escape unprintable characters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * trunk/ext/-test-/printf/printf.c: change function names because ofusa2012-05-251-6/+6
| | | | | | | conflict with msvcrt. fixed build error of mswin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/-ext-/test_printf.rb: tests for [Feature #5896].nobu2012-05-251-0/+31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e