summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--missing/vsnprintf.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 76490ab8ed..552e9a421c 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 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;