2006-12-02 MorganL <morganl.webkit@yahoo.com>
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 2 Dec 2006 13:41:18 +0000 (13:41 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 2 Dec 2006 13:41:18 +0000 (13:41 +0000)
commit6bd00067bf62f72e8c94eb8634ae84ff8335c9b0
tree2a4b9a8b34728aec516b9e566ae16ce361a9cd26
parent71533f21c82d59196f9a4ce6c2c719c05c41ac91
2006-12-02  MorganL  <morganl.webkit@yahoo.com>

        Reviewed by Darin.

        http://bugs.webkit.org/show_bug.cgi?id=11709
        DeprecatedString::format is broken on Windows

        Use _vscprintf on Windows to compute the length of the buffer that
        vsnprintf would need.

        * platform/DeprecatedString.cpp:
        (WebCore::DeprecatedString::format):
        * platform/String.cpp:
        (WebCore::String::format):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17985 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/DeprecatedString.cpp
WebCore/platform/String.cpp