diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-08-02 22:02:40 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-08-02 22:02:40 +0000 |
commit | 2c29b4e755c34256a1df79abd7f666b9d6c73611 (patch) | |
tree | 5601d24090fae54f713bc1e948bf448a48e0c93e /missing | |
parent | 28c635fa9a9a0404aa8a99def42cd3d547cfcfdb (diff) | |
download | ruby-2c29b4e755c34256a1df79abd7f666b9d6c73611.tar.gz |
* array.c (rb_ary_or): wraps the operand in an array if it is not
an array. [ruby-talk:150495]
* array.c (rb_ary_and, rb_ary_plus, rb_ary_diff): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing')
-rw-r--r-- | missing/vsnprintf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/missing/vsnprintf.c b/missing/vsnprintf.c index c218e2d61b..91e7ffb1a4 100644 --- a/missing/vsnprintf.c +++ b/missing/vsnprintf.c @@ -789,6 +789,7 @@ fp_begin: _double = va_arg(ap, double); * defined manner.'' * -- ANSI X3J11 */ + prec = sizeof(void*)*CHAR_BIT/4; #ifdef _HAVE_LLP64_ uqval = (u_long)va_arg(ap, void *); flags = (flags) | QUADINT | HEXPREFIX; |