Bug 140939 - REGRESSION (r179130): Perl warns about subroutine redefinition when running configure-xcode-for-ios-development
Summary: REGRESSION (r179130): Perl warns about subroutine redefinition when running c...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: iPhone / iPad iOS 8.1
: P2 Normal
Assignee: Daniel Bates
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-27 07:06 PST by Daniel Bates
Modified: 2015-01-27 08:17 PST (History)
1 user (show)

See Also:


Attachments
Patch (2.09 KB, patch)
2015-01-27 07:08 PST, Daniel Bates
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Bates 2015-01-27 07:06:41 PST
When I ran Tools/Scripts/configure-xcode-for-ios-development Perl emitted a warning about the subroutine named "wanted" being redefined:

Subroutine wanted redefined at Tools/Scripts/configure-xcode-for-ios-development line 106.
Comment 1 Daniel Bates 2015-01-27 07:08:10 PST
Created attachment 245444 [details]
Patch
Comment 2 Daniel Bates 2015-01-27 07:32:21 PST
Comment on attachment 245444 [details]
Patch

Clearing flags on attachment: 245444

Committed r179180: <http://trac.webkit.org/changeset/179180>
Comment 3 Daniel Bates 2015-01-27 07:32:24 PST
All reviewed patches have been landed.  Closing bug.
Comment 4 David Kilzer (:ddkilzer) 2015-01-27 08:17:28 PST
Comment on attachment 245444 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=245444&action=review

> Tools/Scripts/webkitdirs.pm:2174
> -    sub wanted {
> +    my $wantedFunction = sub {

We should do the same thing for the wanted() function in webkitdirs.pm.