Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/notes/common Special-case badly worded ad clause in ...
details: https://anonhg.NetBSD.org/src/rev/9cc5967f30ab
branches: trunk
changeset: 1005259:9cc5967f30ab
user: uwe <uwe%NetBSD.org@localhost>
date: Tue Dec 03 02:10:26 2019 +0000
description:
Special-case badly worded ad clause in src/sys/lib/libkern/rngtest.c
diffstat:
distrib/notes/common/extract-contrib-string.pl | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 2b92c01ff458 -r 9cc5967f30ab distrib/notes/common/extract-contrib-string.pl
--- a/distrib/notes/common/extract-contrib-string.pl Tue Dec 03 01:56:10 2019 +0000
+++ b/distrib/notes/common/extract-contrib-string.pl Tue Dec 03 02:10:26 2019 +0000
@@ -151,7 +151,17 @@
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) {
Home |
Main Index |
Thread Index |
Old Index