summaryrefslogtreecommitdiffstats
path: root/regex.c
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-16 18:48:20 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-16 18:48:20 +0000
commit379adab4945d1a1a3464038b7208c9db16f30631 (patch)
tree7b1af6fe8d6a84e4bfb3ad5c2b99c4991e79113f /regex.c
parentb3ea0ab39a997849ec066ab5efa74227693d25a9 (diff)
downloadruby-379adab4945d1a1a3464038b7208c9db16f30631.tar.gz
ruby-379adab4945d1a1a3464038b7208c9db16f30631.tar.xz
ruby-379adab4945d1a1a3464038b7208c9db16f30631.zip
* sprintf.c (rb_f_sprintf): Fix a bug caused by an uninitialized
variable v, that a bignum unexpectedly gets converted into a string with its higher figures all filled with ./f/7/1, depending on the base. This bug seems to have been introduced in rev.1.27. * sprintf.c (rb_f_sprintf): Use switch instead of a sequence of else-if's. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regex.c')
0 files changed, 0 insertions, 0 deletions