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 | 049d98c6ffae93db44e83a6f8a88cb66cba735a1 (patch) | |
tree | db106f1aff48fef3047795803f48e270caabfdeb | |
parent | 12a5cf8287f1d2e33f94385ca8a227d9b1cea689 (diff) | |
download | ruby-049d98c6ffae93db44e83a6f8a88cb66cba735a1.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | missing/vsnprintf.c | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -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; |