Commit e428f595 authored by Richard Levitte's avatar Richard Levitte
Browse files

Skip blank lines if old copyright comment was removed, and only then



Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent 7cafbb4b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@ sub check_comment()
    }

    print @lines unless $skipit;
    return $skipit;
}

# Look for leading copyright blocks and process (print/swallow) them.
@@ -61,7 +62,7 @@ EOF
    }
    next if m@^$@;
    last if not m@/\*@;
    &check_comment($_);
    last unless &check_comment($_);
}

if (defined($_)) {