summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/update-copyright
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2013-07-26 17:28:00 +0000
committerChristopher Faylor <me@cgf.cx>2013-07-26 17:28:00 +0000
commit033fe7d87f571555894c8d92a2c1f25c58c04c52 (patch)
tree43d0ca50df0b6ba472cb7e6f7a4632b510d62fa3 /winsup/cygwin/update-copyright
parenta30f955d286e38b570f5e2ab59d5f096213e0328 (diff)
downloadcygnal-033fe7d87f571555894c8d92a2c1f25c58c04c52.tar.gz
cygnal-033fe7d87f571555894c8d92a2c1f25c58c04c52.tar.bz2
cygnal-033fe7d87f571555894c8d92a2c1f25c58c04c52.zip
cygwin directory changes:
* environ.cc (tty_is_gone): Delete. (known): Delete tty, add wincmdln. * globals.cc: Reorganize list of environment bools, remove explicit = false for slight load time optimization. (wincmdln): New global. * spawn.cc (child_info_spawn::worker): Honor wincmdln. doc directory changes: * new-features.sgml (ov-new1.7.23): Add new section. Mention wincmdln. * cygwinenv.xml: Mention wincmdln.
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 ad5eb2310..3677c6156 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\.\n/o) {
+ if ($copyright !~ /Red Hat, Inc\.(?: 1996\s*-\s*.*)?\n/so) {
push @file, $copyright;
next;
}