summaryrefslogtreecommitdiffstats
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
commit20437af09762cc200b150bd47651c5671b8aa674 (patch)
treedb106f1aff48fef3047795803f48e270caabfdeb
parent7c74356b531c7d737ec74be7b4d2a6e8781dc6c8 (diff)
downloadruby-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
-rw-r--r--ChangeLog6
-rw-r--r--missing/vsnprintf.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 76490ab8e..552e9a421 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 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;