merges r22589 from trunk into ruby_1_9_1.

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yugui 2009-03-03 11:39:53 +00:00
parent bb0fe43b2f
commit eb74fc0b46
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 10:49:37 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* process.c (rb_waitpid): last argument was missing.

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;