* numeric.c (rb_fix2str): buffer was insufficient.
(ruby-bugs-ja:PR#431) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7a332f23ce
commit
fae5cc75fa
@ -1,3 +1,8 @@
|
|||||||
|
Tue Apr 15 16:05:11 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||||
|
|
||||||
|
* numeric.c (rb_fix2str): buffer was insufficient.
|
||||||
|
(ruby-bugs-ja:PR#431)
|
||||||
|
|
||||||
Mon Apr 14 19:45:56 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
Mon Apr 14 19:45:56 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||||
|
|
||||||
* file.c (file_expand_path): root must follow buf when
|
* file.c (file_expand_path): root must follow buf when
|
||||||
|
@ -1179,7 +1179,7 @@ rb_fix2str(x, base)
|
|||||||
int base;
|
int base;
|
||||||
{
|
{
|
||||||
extern const char ruby_digitmap[];
|
extern const char ruby_digitmap[];
|
||||||
char buf[SIZEOF_LONG*CHAR_BIT/2 + 2], *b = buf + sizeof buf;
|
char buf[SIZEOF_LONG*CHAR_BIT + 2], *b = buf + sizeof buf;
|
||||||
long val = FIX2LONG(x);
|
long val = FIX2LONG(x);
|
||||||
int neg = 0;
|
int neg = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user