<?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>43856</bug_id>
          
          <creation_ts>2010-08-11 09:16:53 -0700</creation_ts>
          <short_desc>Perl warnings when running commit-log-editor</short_desc>
          <delta_ts>2010-08-11 13:01:11 -0700</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="Daniel Bates">dbates</reporter>
          <assigned_to name="Daniel Bates">dbates</assigned_to>
          <cc>darin</cc>
    
    <cc>eric</cc>
    
    <cc>hyatt</cc>
    
    <cc>tonikitoo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>263275</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2010-08-11 09:16:53 -0700</bug_when>
    <thetext>Following the patch for Bug #40548 (committed in changeset 65148 &lt;http://trac.webkit.org/changeset/65148&gt;), when running the commit-log-editor Perl complains with the following warnings:

Global symbol &quot;$builtEditorApplication&quot; requires explicit package name at ./commit-log-editor line 85.
Global symbol &quot;$builtEditorApplication&quot; requires explicit package name at ./commit-log-editor line 86.
Bareword &quot;true&quot; not allowed while &quot;strict subs&quot; in use at ./commit-log-editor line 68.
Bareword &quot;false&quot; not allowed while &quot;strict subs&quot; in use at ./commit-log-editor line 73.
Bareword &quot;false&quot; not allowed while &quot;strict subs&quot; in use at ./commit-log-editor line 80.
Bareword &quot;false&quot; not allowed while &quot;strict subs&quot; in use at ./commit-log-editor line 87.
Execution of ./commit-log-editor aborted due to compilation errors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>263279</commentid>
    <comment_count>1</comment_count>
      <attachid>64123</attachid>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2010-08-11 09:22:22 -0700</bug_when>
    <thetext>Created attachment 64123
Patch

Perl doesn&apos;t have symbolic names for True/False. Instead, we should use boolean values. Moreover, the variable installedEditorApplication is unused. It looks like it should be renamed builtEditorApplication so that it uses the existing machinery to set the editor.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>263375</commentid>
    <comment_count>2</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2010-08-11 12:08:32 -0700</bug_when>
    <thetext>This patch addresses some of the errors, but not these:

&quot;Global symbol &quot;$builtEditorApplication&quot; requires explicit package name at ./commit-log-editor line 85.
Global symbol &quot;$builtEditorApplication&quot; requires explicit package name at ./commit-log-editor line 86.&quot;

I still can&apos;t commit. Help!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>263408</commentid>
    <comment_count>3</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2010-08-11 12:57:46 -0700</bug_when>
    <thetext>Committed in changeset 65179 &lt;http://trac.webkit.org/changeset/65179&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>263409</commentid>
    <comment_count>4</comment_count>
      <attachid>64123</attachid>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2010-08-11 12:58:42 -0700</bug_when>
    <thetext>Comment on attachment 64123
Patch

Clearing commit-queue flag since I committed this by hand because the queue was slow today :-(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>263412</commentid>
    <comment_count>5</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2010-08-11 13:01:11 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; This patch addresses some of the errors, but not these:
&gt; 
&gt; &quot;Global symbol &quot;$builtEditorApplication&quot; requires explicit package name at ./commit-log-editor line 85.
&gt; Global symbol &quot;$builtEditorApplication&quot; requires explicit package name at ./commit-log-editor line 86.&quot;
&gt; 
&gt; I still can&apos;t commit. Help!

Spoke with David Hyatt on IRC. He inadvertently did not copy over the change to rename the variable installedEditorApplication to builtEditorApplication (included in this patch). He confirmed that his change resolves the &quot;Global symbol&quot; warnings.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>64123</attachid>
            <date>2010-08-11 09:22:22 -0700</date>
            <delta_ts>2010-08-11 12:58:42 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>Bug43856.patch</filename>
            <type>text/plain</type>
            <size>2258</size>
            <attacher name="Daniel Bates">dbates</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBXZWJLaXRUb29scy9D
aGFuZ2VMb2cJKHJldmlzaW9uIDY1MTYwKQorKysgV2ViS2l0VG9vbHMvQ2hhbmdlTG9nCSh3b3Jr
aW5nIGNvcHkpCkBAIC0xLDMgKzEsMTkgQEAKKzIwMTAtMDgtMTEgIERhbmllbCBCYXRlcyAgPGRi
YXRlc0ByaW0uY29tPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisg
ICAgICAgIFBlcmwgd2FybmluZ3Mgd2hlbiBydW5uaW5nIGNvbW1pdC1sb2ctZWRpdG9yCisgICAg
ICAgIEJ1ZyAjNDM4NTYKKworICAgICAgICBGaXhlcyBQZXJsIHdhcm5pbmdzIGludHJvZHVjZWQg
YnkgdGhlIHBhdGNoIGZvciBCdWc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GxpY2F0aW9ucy9Db21t
aXQgTG9nIEVkaXRvci5hcHAvQ29udGVudHMvTWFjT1MvQ29tbWl0IExvZyBFZGl0b3IiOwogICAg
IGlmICgteCAkYnVpbHRFZGl0b3JBcHBsaWNhdGlvbikgewogICAgICAgICAkZWRpdG9yID0gJGJ1
aWx0RWRpdG9yQXBwbGljYXRpb247Ci0gICAgICAgICRzcGxpdEVkaXRvciA9IGZhbHNlOworICAg
ICAgICAkc3BsaXRFZGl0b3IgPSAwOwogICAgIH0KIH0KIAo=
</data>
<flag name="review"
          id="52616"
          type_id="1"
          status="+"
          setter="darin"
    />
          </attachment>
      

    </bug>

</bugzilla>