DescriptionSome files, notably CPAN Perl modules, have the license in the footer.
This adds a check to the footer if no license is found in the header.
(Reading the footer is *much* slower than the header, and can lead
to spurious results if there is a legit header license, so do only
if necessary.)
Minor changes:
* refactor "remove_comments" so common header/footer processing;
* change "program" to "(program|library)" in Perl license regex.
BUG=239771
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=205104
Patch Set 1 #
Total comments: 8
Patch Set 2 : Update per comments #Patch Set 3 : Wording #Messages
Total messages: 13 (0 generated)
|