Module Name: src
Committed By: uwe
Date: Tue Dec 3 02:10:26 UTC 2019
Modified Files:
src/distrib/notes/common: extract-contrib-string.pl
Log Message:
Special-case badly worded ad clause in src/sys/lib/libkern/rngtest.c
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/distrib/notes/common/extract-contrib-string.pl
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/notes/common/extract-contrib-string.pl
diff -u src/distrib/notes/common/extract-contrib-string.pl:1.19 src/distrib/notes/common/extract-contrib-string.pl:1.20
--- src/distrib/notes/common/extract-contrib-string.pl:1.19 Tue Dec 3 01:52:04 2019
+++ src/distrib/notes/common/extract-contrib-string.pl Tue Dec 3 02:10:26 2019
@@ -151,7 +151,17 @@ while(<>) {
print "2> $_" if $debug;
$msg="";
- $msg = $_ if ($fn =~ m,$known_bad_clause_3_wording, and /``/);
+
+ if ($fn =~ m,$known_bad_clause_3_wording, and /``/) {
+ $msg = $_;
+ }
+ elsif (/:\s+This product/) {
+ # src/sys/lib/libkern/rngtest.c - bad clause 3 wording
+ # that is not like others, so special case it here
+ $msg = $_;
+ $msg =~ s/^.*:\s+(This product.*)$/$1/;
+ }
+
$cnt=0;
$_=<F>;
while(!/$ack_endline/i) {