summaryrefslogtreecommitdiff
path: root/mail/adcomplain
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-10-07 22:16:25 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-10-07 22:16:25 +0000
commitb8e7e4673675475334af28af44e6c2f8ef8df8d7 (patch)
tree109a942fed735d98b18b41bb3c9cac8f5a33243c /mail/adcomplain
parentUpgrade to 0.76 (diff)
Fix possible regexp botch
Notes
Notes: svn path=/head/; revision=8165
Diffstat (limited to 'mail/adcomplain')
-rw-r--r--mail/adcomplain/files/patch-aa21
1 files changed, 19 insertions, 2 deletions
diff --git a/mail/adcomplain/files/patch-aa b/mail/adcomplain/files/patch-aa
index a86b96cf0ea4..9e10d71cde35 100644
--- a/mail/adcomplain/files/patch-aa
+++ b/mail/adcomplain/files/patch-aa
@@ -1,5 +1,5 @@
-*** adcomplain.pl.orig Wed Oct 8 01:12:36 1997
---- adcomplain.pl Wed Oct 8 01:21:22 1997
+*** adcomplain.pl.orig Wed Oct 8 02:02:29 1997
+--- adcomplain.pl Wed Oct 8 02:13:15 1997
***************
*** 1,6 ****
! #! /bin/sh -- # -*- perl -*-
@@ -122,3 +122,20 @@
unlink $tempname;
close STDIN;
exit 0;
+***************
+*** 685,691 ****
+ local ($probe, $each, $result);
+
+ $probe = $text;
+! $probe =~ s/^\s*(\S\S\S).*/$1/;
+ foreach $each ("Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun") {
+ return 1 if $each =~ /$probe/i;
+ }
+--- 691,697 ----
+ local ($probe, $each, $result);
+
+ $probe = $text;
+! $probe =~ s/^\s*(\w\w\w).*/$1/;
+ foreach $each ("Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun") {
+ return 1 if $each =~ /$probe/i;
+ }