Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/update-copyright')
-rwxr-xr-xwinsup/cygwin/update-copyright4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/update-copyright b/winsup/cygwin/update-copyright
index 3677c6156..ad5eb2310 100755
--- a/winsup/cygwin/update-copyright
+++ b/winsup/cygwin/update-copyright
@@ -54,10 +54,10 @@ sub update_maybe($%) {
while (<>) {
if ($copyright) {
push @file, $_;
- } elsif (/^(?:dnl\s|.*"|[#\s]*)Copyright/o) {
+ } elsif (/^(?:dnl\s|[#\s]*)Copyright/o) {
$copyright = $_;
$copyright .= scalar <> while $copyright =~ /,\s*$/o;
- if ($copyright !~ /Red Hat, Inc\.(?: 1996\s*-\s*.*)?\n/so) {
+ if ($copyright !~ /Red Hat, Inc\.\n/o) {
push @file, $copyright;
next;
}