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

* missing/vsnprintf.c (BSD_vfprintf): ptrdiff_t may be larger than

long.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-02-24 04:13:53 +00:00
parent 6bdeed2b47
commit 5028921a25
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Tue Feb 24 13:13:49 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* missing/vsnprintf.c (BSD_vfprintf): ptrdiff_t may be larger than
long.
Tue Feb 24 11:21:50 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* signal.c (rb_disable_interrupt, rb_enable_interrupt): see

View file

@ -713,11 +713,16 @@ reswitch: switch (ch) {
case 'h':
flags |= SHORTINT;
goto rflag;
#if SIZEOF_PTRDIFF_T == SIZEOF_LONG
case 't':
#endif
case 'l':
flags |= LONGINT;
goto rflag;
#ifdef _HAVE_SANE_QUAD_
#if SIZEOF_PTRDIFF_T == SIZEOF_LONG_LONG
case 't':
#endif
case 'q':
flags |= QUADINT;
goto rflag;