diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-04 01:16:14 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-04 01:16:14 +0000 |
commit | 20437af09762cc200b150bd47651c5671b8aa674 (patch) | |
tree | db106f1aff48fef3047795803f48e270caabfdeb /missing/vsnprintf.c | |
parent | 7c74356b531c7d737ec74be7b4d2a6e8781dc6c8 (diff) | |
download | ruby-20437af09762cc200b150bd47651c5671b8aa674.tar.gz ruby-20437af09762cc200b150bd47651c5671b8aa674.tar.xz ruby-20437af09762cc200b150bd47651c5671b8aa674.zip |
* 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
Diffstat (limited to 'missing/vsnprintf.c')
-rw-r--r-- | missing/vsnprintf.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |