1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* bignum.c, marshal.c: Detypo: s/SIZEOF_ING/SIZEOF_INT/.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2001-08-13 05:17:38 +00:00
parent 56f454f77d
commit 62bf905d4e
3 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Mon Aug 13 14:16:46 2001 Akinori MUSHA <knu@iDaemons.org>
* bignum.c, marshal.c: Detypo: s/SIZEOF_ING/SIZEOF_INT/.
Sun Aug 12 15:01:58 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* string.c (rb_str_cat): fix buffer overflow.

View file

@ -24,7 +24,7 @@ VALUE rb_cBignum;
typedef unsigned int BDIGIT;
typedef unsigned LONG_LONG BDIGIT_DBL;
typedef LONG_LONG BDIGIT_DBL_SIGNED;
#elif SIZEOF_ING*2 <= SIZEOF_LONG
#elif SIZEOF_INT*2 <= SIZEOF_LONG
typedef unsigned int BDIGIT;
typedef unsigned long BDIGIT_DBL;
typedef long long BDIGIT_DBL_SIGNED;

View file

@ -18,7 +18,7 @@
double strtod();
#endif
#if SIZEOF_INT*2 <= SIZEOF_LONG_LONG || SIZEOF_ING*2 <= SIZEOF_LONG
#if SIZEOF_INT*2 <= SIZEOF_LONG_LONG || SIZEOF_INT*2 <= SIZEOF_LONG
typedef unsigned int BDIGIT;
#define SIZEOF_BDIGITS SIZEOF_INT
#else