<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>30473</bug_id>
          
          <creation_ts>2009-10-16 20:28:39 -0700</creation_ts>
          <short_desc>Check COMPILER(MSVC) instead of PLATFORM(WIN_OS) to avoid the use of vasprintf.</short_desc>
          <delta_ts>2019-02-06 09:04:19 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kwang Yul Seo">skyul</reporter>
          <assigned_to name="Kwang Yul Seo">skyul</assigned_to>
          <cc>abarth</cc>
    
    <cc>aroben</cc>
    
    <cc>cdumez</cc>
    
    <cc>eric</cc>
    
    <cc>mrowe</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>155351</commentid>
    <comment_count>0</comment_count>
    <who name="Kwang Yul Seo">skyul</who>
    <bug_when>2009-10-16 20:28:39 -0700</bug_when>
    <thetext>vasprintf is missing in MSVC. Use COMPILER(MSVC) guards instead of PLALTFORM(WIN_OS) guards.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>155352</commentid>
    <comment_count>1</comment_count>
      <attachid>41349</attachid>
    <who name="Kwang Yul Seo">skyul</who>
    <bug_when>2009-10-16 20:30:16 -0700</bug_when>
    <thetext>Created attachment 41349
Use COMPILER(MSVC) guards to avoid vasprintf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>155376</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-16 23:37:32 -0700</bug_when>
    <thetext>So you&apos;re saying that vasprintf works fine in gcc (or any other compiler) on WIN_OS?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>155382</commentid>
    <comment_count>3</comment_count>
    <who name="Kwang Yul Seo">skyul</who>
    <bug_when>2009-10-17 00:36:26 -0700</bug_when>
    <thetext>I use MSVC to build WebKit for BREW simulator and I undefined WTF_PLATFORM WIN_OS in Platform.h in favor of WTF_PLATFORM_BREW. vasprintf is not related to WIN_OS but to MSVC.

vasprintf works fine in cygwin or mingw gcc anyway.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>155874</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-19 13:46:04 -0700</bug_when>
    <thetext>I could have sworn bdash commented on this bug already, but I don&apos;t see it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>155875</commentid>
    <comment_count>5</comment_count>
      <attachid>41349</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-19 13:47:59 -0700</bug_when>
    <thetext>Comment on attachment 41349
Use COMPILER(MSVC) guards to avoid vasprintf

+        No new tests. (OOPS!)

the OOPS will cause the commit to fail.  The one in &quot;reviewed by&quot; is OK, because the commit-queue will substitute in the right thing.  BUt the no new tests line should be replaced by something explaingin why this does not need testing or why testing is impossible.

Something simple like:

Build fix only, no tests possible.

would be fine.

cq- since the commit-queue can&apos;t handle this as-is.  If you post a new patch  w/o the second OOPS! that can be r+/cq+&apos;d though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>156061</commentid>
    <comment_count>6</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2009-10-19 21:39:36 -0700</bug_when>
    <thetext>Committed r49838: &lt;http://trac.webkit.org/changeset/49838&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1503149</commentid>
    <comment_count>7</comment_count>
    <who name="Lucas Forschler">lforschler</who>
    <bug_when>2019-02-06 09:04:19 -0800</bug_when>
    <thetext>Mass moving XML DOM bugs to the &quot;DOM&quot; Component.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>41349</attachid>
            <date>2009-10-16 20:30:16 -0700</date>
            <delta_ts>2009-10-19 13:47:58 -0700</delta_ts>
            <desc>Use COMPILER(MSVC) guards to avoid vasprintf</desc>
            <filename>vasprintf.patch</filename>
            <type>text/plain</type>
            <size>1391</size>
            <attacher name="Kwang Yul Seo">skyul</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA0OTcyNykKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTggQEAKKzIwMDktMTAtMTYgIEt3YW5nIFl1bCBTZW8gIDxza3l1bEBjb21wYW55
MTAwLm5ldD4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAg
ICBDaGVjayBDT01QSUxFUihNU1ZDKSBpbnN0ZWFkIG9mIFBMQVRGT1JNKFdJTl9PUykgdG8gYXZv
aWQgdGhlIHVzZSBvZiB2YXNwcmludGYuCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3Jn
L3Nob3dfYnVnLmNnaT9pZD0zMDQ3MworCisgICAgICAgIHZhc3ByaW50ZiBpcyBtaXNzaW5nIGlu
IE1TVkMuIFVzZSBDT01QSUxFUihNU1ZDKSB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yKCksIGNvbHVtbk51
bWJlcigpKTsKIAotI2lmICFQTEFURk9STShXSU5fT1MpCisjaWYgIUNPTVBJTEVSKE1TVkMpCiAg
ICAgZnJlZShtKTsKICNlbmRpZgogfQo=
</data>
<flag name="review"
          id="22720"
          type_id="1"
          status="+"
          setter="eric"
    />
    <flag name="commit-queue"
          id="22721"
          type_id="3"
          status="-"
          setter="eric"
    />
          </attachment>
      

    </bug>

</bugzilla>