<?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>34528</bug_id>
          
          <creation_ts>2010-02-03 07:26:22 -0800</creation_ts>
          <short_desc>WebCore/platform/graphics/GlyphPageTreeNode.cpp needs to #include stdio.h in debug build</short_desc>
          <delta_ts>2010-02-22 16:55:45 -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>Platform</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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>Minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Stephan Aßmus">superstippi</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>eric</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>187349</commentid>
    <comment_count>0</comment_count>
    <who name="Stephan Aßmus">superstippi</who>
    <bug_when>2010-02-03 07:26:22 -0800</bug_when>
    <thetext>As in summary.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>187350</commentid>
    <comment_count>1</comment_count>
      <attachid>48026</attachid>
    <who name="Stephan Aßmus">superstippi</who>
    <bug_when>2010-02-03 07:28:31 -0800</bug_when>
    <thetext>Created attachment 48026
Include &lt;stdio.h&gt; when compiling without NDEBUG #define. The code later uses printf() when NDEBUG is not defined.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>187415</commentid>
    <comment_count>2</comment_count>
      <attachid>48026</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2010-02-03 10:00:45 -0800</bug_when>
    <thetext>Comment on attachment 48026
Include &lt;stdio.h&gt; when compiling without NDEBUG #define. The code later uses printf() when NDEBUG is not defined.

Thanks.

This is fine but:

1) No real need to put the ifdef around the include. An unconditional include of &lt;stdio.h&gt; would be fine.

2) Need a change log.

review- because of the lack of change log</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>191491</commentid>
    <comment_count>3</comment_count>
      <attachid>48985</attachid>
    <who name="Stephan Aßmus">superstippi</who>
    <bug_when>2010-02-18 01:42:31 -0800</bug_when>
    <thetext>Created attachment 48985
Revised patch with changelog.

Replaces previous patch and fixes the issues pointed out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>192579</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-02-22 13:05:14 -0800</bug_when>
    <thetext>What platform were you building on that saw this error?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>192585</commentid>
    <comment_count>5</comment_count>
    <who name="Stephan Aßmus">superstippi</who>
    <bug_when>2010-02-22 13:12:08 -0800</bug_when>
    <thetext>I was using Haiku. We use a jam based build system. It&apos;s setup such that when NDEBUG is exported in the environment, it passes -DNDEBUG=1 to CC and C++ flags.

BTW. Using the Haiku WebKit browser to post this comment! :-D</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>192701</commentid>
    <comment_count>6</comment_count>
      <attachid>48985</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-02-22 16:55:40 -0800</bug_when>
    <thetext>Comment on attachment 48985
Revised patch with changelog.

Clearing flags on attachment: 48985

Committed r55113: &lt;http://trac.webkit.org/changeset/55113&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>192702</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-02-22 16:55:45 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>48026</attachid>
            <date>2010-02-03 07:28:31 -0800</date>
            <delta_ts>2010-02-18 01:42:31 -0800</delta_ts>
            <desc>Include &lt;stdio.h&gt; when compiling without NDEBUG #define. The code later uses printf() when NDEBUG is not defined.</desc>
            <filename>proposed_patch.diff</filename>
            <type>text/plain</type>
            <size>441</size>
            <attacher name="Stephan Aßmus">superstippi</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvcGxhdGZvcm0vZ3JhcGhpY3MvR2x5cGhQYWdlVHJlZU5vZGUuY3BwCj09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT0KLS0tIFdlYkNvcmUvcGxhdGZvcm0vZ3JhcGhpY3MvR2x5cGhQYWdlVHJlZU5vZGUu
Y3BwCShyZXZpc2lvbiA1NDI3NSkKKysrIFdlYkNvcmUvcGxhdGZvcm0vZ3JhcGhpY3MvR2x5cGhQ
YWdlVHJlZU5vZGUuY3BwCSh3b3JraW5nIGNvcHkpCkBAIC0zNCw2ICszNCw5IEBACiAjaW5jbHVk
ZSAiU2VnbWVudGVkRm9udERhdGEuaCIKICNpbmNsdWRlICJTaW1wbGVGb250RGF0YS5oIgogI2lu
Y2x1ZGUgPHd0Zi91bmljb2RlL1VuaWNvZGUuaD4KKyNpZm5kZWYgTkRFQlVHCisjaW5jbHVkZSA8
c3RkaW8uaD4KKyNlbmRpZgogCiBuYW1lc3BhY2UgV2ViQ29yZSB7CiAK
</data>
<flag name="review"
          id="30632"
          type_id="1"
          status="-"
          setter="darin"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>48985</attachid>
            <date>2010-02-18 01:42:31 -0800</date>
            <delta_ts>2010-02-22 16:55:40 -0800</delta_ts>
            <desc>Revised patch with changelog.</desc>
            <filename>ndebug.diff</filename>
            <type>text/plain</type>
            <size>1097</size>
            <attacher name="Stephan Aßmus">superstippi</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA1NDk0OCkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTUgQEAKKzIwMTAtMDItMTggIFN0ZXBoYW4gQcOfbXVzICA8c3VwZXJzdGlwcGlA
Z214LmRlPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAg
IEJ1aWxkIGZpeCBmb3IgZGVidWcgYnVpbGRzIG9mIEdseXBoUGFnZVRyZWVOb2RlLmNwcAorICAg
ICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MzQ1MjgKKworICAg
ICAgICBDb3ZlcmVkIGJ5IGV4aXN0aW5nIHRlc3RzLgorCisgICAgICAgICogcGxhdGZvcm0vZ3Jh
cGhpY3MvR2x5cGhQYWdlVHJlZU5vZGUuY3BwOgorICAgICAgICAgICAgaW5jbHVkZSA8c3RkaW8u
aD4gc2luY2UgcHJpbnRmKCkgaXMgdXNlZCBpZiBOREVCVUcgaXMgbm90IGRlZmluZWQuCisKIDIw
MTAtMDItMTggIFdpbGxpYW0gQ2hhbiAgPHdpbGxjaGFuQGNocm9taXVtLm9yZz4KIAogICAgICAg
ICBSZXZpZXdlZCBieSBBZGFtIEJhcnRoLgpJbmRleDogV2ViQ29yZS9wbGF0Zm9ybS9ncmFwaGlj
cy9HbHlwaFBhZ2VUcmVlTm9kZS5jcHAKPT09PT09PT09PT09PT09PT09P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