aboutsummaryrefslogtreecommitdiff
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
parent5f3fe09fb04cc1078e379ad2991d3491431aedc1 (diff)
downloadports-b8e7e4673675475334af28af44e6c2f8ef8df8d7.tar.gz
ports-b8e7e4673675475334af28af44e6c2f8ef8df8d7.zip
Notes
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;
+ }