From 4538ac15ec705788c857319244a5220c7dd1f302 Mon Sep 17 00:00:00 2001 From: yugui Date: Sun, 22 Feb 2009 09:47:13 +0000 Subject: merges r22024 from trunk into ruby_1_9_1. * 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/branches/ruby_1_9_1@22509 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