summaryrefslogtreecommitdiff
path: root/missing
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-04 01:16:14 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-04 01:16:14 +0000
commit049d98c6ffae93db44e83a6f8a88cb66cba735a1 (patch)
treedb106f1aff48fef3047795803f48e270caabfdeb /missing
parent12a5cf8287f1d2e33f94385ca8a227d9b1cea689 (diff)
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@22024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing')
-rw-r--r--missing/vsnprintf.c1
1 files changed, 1 insertions, 0 deletions
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;