From: "U.Nakamura" Date: 2003-04-18T18:02:05+09:00 Subject: [ruby-dev:20029] Re: Possible bug? こんにちは、なかむら(う)です。 英語がつらくなって来たのでdevに振ります。 In message "Re: Possible bug?" on Apr.18,2003 16:52:21, wrote: | (1) Some platforms have the correct (set null at the end of buffer) | (v)snprintf. It's OK. | (2) Some platforms don't have (v)snprintf. Ruby uses missing/vsnprintf.c. | It's OK. | (3) Win32 platforms have _(v)snprintf, and they are broken. | Your patch totally fix the problem, I agree. | (4) I doubt some other platforms exist. The platforms have the wrong | (v)snprintf just like win32's _(v)snprintf. | | If (4) is right, we should fix all (v)snprintf call at all. | I am anxious about it, and this is that I want to say previous mail. とか書いてみたものの、MSVCRTとbcc32以外で同様の問題を持つプラ ットフォームは発見できませんでした。 というわけで、「全部対応しろ」という主張は取り下げます。 お騒がせしてごめんなさい。 で、[ruby-talk:69678]のパッチを採用するかどうかですけど、これ じゃなくてmissing/vsnprintf.cを使うというのはどうでしょうか? それでは。 -- U.Nakamura