From 20437af09762cc200b150bd47651c5671b8aa674 Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 4 Feb 2009 01:16:14 +0000 Subject: * missing/vsnprintf.c (BSD_vfprintf): should support 't' format modifier to handle PRIdPTRDIFF. thanks for the info from Kazuhiro NISHIYAMA. [ruby-core:21807] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- missing/vsnprintf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'missing') diff --git a/missing/vsnprintf.c b/missing/vsnprintf.c index 1ea2f143c..ac649a467 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; -- cgit