Avoid an endless loop in previous, improve extraction of "known bad"
UCB 3 clause licenses.
This commit is contained in:
parent
66009f62a3
commit
afdba35c96
@ -145,6 +145,7 @@ while(<>) {
|
||||
print "2> $_" if $debug;
|
||||
|
||||
$msg="";
|
||||
$msg = $_ if ($fn =~ m,$known_bad_clause_3_wording, and /``/);
|
||||
$cnt=0;
|
||||
$_=<F>;
|
||||
while(!/$ack_endline/i) {
|
||||
@ -166,8 +167,10 @@ while(<>) {
|
||||
|
||||
if ($fn =~ m,$known_bad_clause_3_wording,) {
|
||||
while ($msg !~ /^.*``.*\n/) {
|
||||
last if (!$msg);
|
||||
$msg =~ s/^.*\n//o;
|
||||
}
|
||||
$msg =~ s/^.*``//o;
|
||||
$msg =~ s/\n.*``//o;
|
||||
$msg =~ s/''.*$//o;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user