<?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>53786</bug_id>
          
          <creation_ts>2011-02-04 10:17:54 -0800</creation_ts>
          <short_desc>check-webkit-style: The error message about NULL should be more clear for comments.</short_desc>
          <delta_ts>2011-02-09 11:54:44 -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>Tools / Tests</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>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Levin">levin</reporter>
          <assigned_to name="David Levin">levin</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>eric</cc>
    
    <cc>hamaji</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>345582</commentid>
    <comment_count>0</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2011-02-04 10:17:54 -0800</bug_when>
    <thetext>There have been at least three bugs filed about this and probably other times people thought it was in error and didn&apos;t file a bug.
  https://bugs.webkit.org/show_bug.cgi?id=31215
  https://bugs.webkit.org/show_bug.cgi?id=34605
  https://bugs.webkit.org/show_bug.cgi?id=53755

This is my attempt to help clarify the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>345590</commentid>
    <comment_count>1</comment_count>
      <attachid>81243</attachid>
    <who name="David Levin">levin</who>
    <bug_when>2011-02-04 10:22:13 -0800</bug_when>
    <thetext>Created attachment 81243
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>345739</commentid>
    <comment_count>2</comment_count>
      <attachid>81243</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-02-04 13:25:01 -0800</bug_when>
    <thetext>Comment on attachment 81243
Patch

What&apos;s &quot;null&quot;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>345740</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-02-04 13:25:23 -0800</bug_when>
    <thetext>I support the &quot;comments&quot; thing, I&apos;m not sure I understand the &quot;null&quot; bit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>345747</commentid>
    <comment_count>4</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2011-02-04 13:33:46 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; I support the &quot;comments&quot; thing, I&apos;m not sure I understand the &quot;null&quot; bit.

I don&apos;t know if I get it either, but I going with what I&apos;ve seen other say. For example, https://bugs.webkit.org/show_bug.cgi?id=34605#c2

And it appears in https://bugs.webkit.org/show_bug.cgi?id=53749 the patch author took the &quot;null&quot; route.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>345750</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-02-04 13:39:16 -0800</bug_when>
    <thetext>I see.  Using &quot;null&quot; in comments.  But &quot;null&quot; isn&apos;t a language primitive, or is it?  I can never remember.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>345756</commentid>
    <comment_count>6</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2011-02-04 13:43:28 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; I see.  Using &quot;null&quot; in comments.  But &quot;null&quot; isn&apos;t a language primitive, or is it?  I can never remember.
No.

This particular line should only be printed for comments actually. The style checker has special logic to catch NULL in comments and people think it is a bug so I changed the text on this instance of the message to make it more clear.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>345773</commentid>
    <comment_count>7</comment_count>
      <attachid>81243</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-02-04 13:59:10 -0800</bug_when>
    <thetext>Comment on attachment 81243
Patch

Oh.  OK.  it wasn&apos;t clear to me that tis&apos; a comment-only message.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>348426</commentid>
    <comment_count>8</comment_count>
      <attachid>81243</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-02-09 11:54:40 -0800</bug_when>
    <thetext>Comment on attachment 81243
Patch

Clearing flags on attachment: 81243

Committed r78100: &lt;http://trac.webkit.org/changeset/78100&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>348427</commentid>
    <comment_count>9</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-02-09 11:54:44 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>81243</attachid>
            <date>2011-02-04 10:22:13 -0800</date>
            <delta_ts>2011-02-09 11:54:40 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-53786-20110204102212.patch</filename>
            <type>text/plain</type>
            <size>2608</size>
            <attacher name="David Levin">levin</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1Rvb2xzL0NoYW5nZUxvZyBiL1Rvb2xzL0NoYW5nZUxvZwppbmRleCBlMmRj
YTM4ZjQ0OTU5YzA1MzRhNjJjMWQ1ODg4MzE4MDdiY2FhZTczLi5hYzdjYWVmOGQzM2FhNDc4MjRl
YWU5YjcxZGZhZDY4MzI4NDMwNzBiIDEwMDY0NAotLS0gYS9Ub29scy9DaGFuZ2VMb2cKKysrIGIv
VG9vbHMvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTMgQEAKKzIwMTEtMDItMD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      

    </bug>

</bugzilla>