RESOLVED FIXED 63628
generate-webkitversion.pl should not "use Switch"
https://bugs.webkit.org/show_bug.cgi?id=63628
Summary generate-webkitversion.pl should not "use Switch"
Leandro Pereira
Reported 2011-06-29 07:40:47 PDT
generate-webkitversion.pl should not "use Switch"
Attachments
Patch (1.14 KB, patch)
2011-06-29 07:42 PDT, Leandro Pereira
no flags
Leandro Pereira
Comment 1 2011-06-29 07:42:40 PDT
Leandro Pereira
Comment 2 2011-06-29 07:48:04 PDT
Switch.pm isn't available in current Perl versions, so generate-webkitversions.pl fails with this error message: Can't locate Switch.pm in @INC (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /home/leandro/git/webkit/Source/WebKit/scripts/generate-webkitversion.pl line 42. Since no switch statement is used, it is safe to remove it from the script. The attached patch does that.
Leandro Pereira
Comment 3 2011-06-29 07:50:11 PDT
CCing Simon Hausmann and Adam Barth, who recently changed this file.
Adam Barth
Comment 4 2011-06-29 08:33:30 PDT
Comment on attachment 99089 [details] Patch I wish I knew enough about Perl to review this patch.
Simon Hausmann
Comment 5 2011-06-30 00:32:26 PDT
Comment on attachment 99089 [details] Patch r=me
WebKit Review Bot
Comment 6 2011-06-30 00:42:24 PDT
Comment on attachment 99089 [details] Patch Clearing flags on attachment: 99089 Committed r90093: <http://trac.webkit.org/changeset/90093>
WebKit Review Bot
Comment 7 2011-06-30 00:42:29 PDT
All reviewed patches have been landed. Closing bug.
Ademar Reis
Comment 8 2011-07-18 10:15:29 PDT
Revision r90093 cherry-picked into qtwebkit-2.2 with commit 3a4bda7 <http://gitorious.org/webkit/qtwebkit/commit/3a4bda7>
Note You need to log in before you can comment on or make changes to this bug.