/[smecontribs]/rpms/smeserver-vacation/contribs9/smeserver-vacation-1.1-subject_match_case_insensitive.patch
ViewVC logotype

Annotation of /rpms/smeserver-vacation/contribs9/smeserver-vacation-1.1-subject_match_case_insensitive.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Thu Jan 8 08:47:33 2015 UTC (9 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-vacation-1_1-22_el6_sme, smeserver-vacation-1_1-24_el6_sme, smeserver-vacation-1_1-21_el6_sme, smeserver-vacation-1_1-17_el6_sme, smeserver-vacation-1_1-6_el6_sme, smeserver-vacation-1_1-20_el6_sme, smeserver-vacation-1_1-14_el6_sme, smeserver-vacation-1_1-26_el6_sme, smeserver-vacation-1_1-25_el6_sme, smeserver-vacation-1_1-7_el6_sme, smeserver-vacation-1_1-16_el6_sme, smeserver-vacation-1_1-9_el6_sme, smeserver-vacation-1_1-18_el6_sme, smeserver-vacation-1_1-12_el6_sme, smeserver-vacation-1_1-19_el6_sme, smeserver-vacation-1_1-8_el6_sme, smeserver-vacation-1_1-13_el6_sme, smeserver-vacation-1_1-15_el6_sme, smeserver-vacation-1_1-10_el6_sme, smeserver-vacation-1_1-23_el6_sme, HEAD
* Thu Jan 8 2015 Daniel Berteaud <daniel@firewall-services.com> 1.1-6.sme
- Make the subject header match case insensitive (patch from Mats Schuh) [SME: 8777]

1 vip-ire 1.1 diff -urN smeserver-vacation-1.1.old/root/usr/local/bin/vacation smeserver-vacation-1.1/root/usr/local/bin/vacation
2     --- smeserver-vacation-1.1.old/root/usr/local/bin/vacation 2015-01-08 00:51:14.264678204 +0100
3     +++ smeserver-vacation-1.1/root/usr/local/bin/vacation 2015-01-08 00:51:50.812400315 +0100
4     @@ -433,7 +433,7 @@
5     exit(0) unless $alias_match;
6     }
7    
8     - ($subject) = ($header =~ /^Subject:\s+(.*)/m);
9     + ($subject) = ($header =~ /^Subject:\s+(.*)/im);
10     $subject =~ s/\s*$//m; # Remove trailing spaces
11    
12     $subject = "(No subject)" unless $subject;

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed