diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | missing/vsnprintf.c | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Wed Feb 4 10:12:05 2009 Yukihiro Matsumoto <matz@ruby-lang.org> + + * missing/vsnprintf.c (BSD_vfprintf): should support 't' format + modifier to handle PRIdPTRDIFF. thanks for the info from + Kazuhiro NISHIYAMA. [ruby-core:21807] + Wed Feb 4 01:28:46 2009 Tanaka Akira <akr@fsij.org> * ext/socket/extconf.rb: fix struct in_pktinfo and struct in6_pktinfo diff --git a/missing/vsnprintf.c b/missing/vsnprintf.c index 1ea2f143c2..ac649a4670 100644 --- a/missing/vsnprintf.c +++ b/missing/vsnprintf.c @@ -713,6 +713,7 @@ reswitch: switch (ch) { case 'h': flags |= SHORTINT; goto rflag; + case 't': case 'l': flags |= LONGINT; goto rflag; |