Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/notes/common Don't use an undefined variable.



details:   https://anonhg.NetBSD.org/src/rev/8e9974d05678
branches:  trunk
changeset: 967212:8e9974d05678
user:      uwe <uwe%NetBSD.org@localhost>
date:      Mon Dec 02 21:54:33 2019 +0000

description:
Don't use an undefined variable.

diffstat:

 distrib/notes/common/extract-contrib-string.pl |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r f39e3d426f11 -r 8e9974d05678 distrib/notes/common/extract-contrib-string.pl
--- a/distrib/notes/common/extract-contrib-string.pl    Mon Dec 02 21:24:50 2019 +0000
+++ b/distrib/notes/common/extract-contrib-string.pl    Mon Dec 02 21:54:33 2019 +0000
@@ -303,7 +303,7 @@
                    }
 
                    $copyrights{$msg} = 1;
-                   $lc_copyrights{$lc_msg} = 1;
+                   $lc_copyrights{lc($msg)} = 1;
                }                
 
            } else {



Home | Main Index | Thread Index | Old Index