/[smeserver]/rpms/e-smith-pop3/sme8/e-smith-pop3-2.2.0-PopSoftlimit2.patch
ViewVC logotype

Annotation of /rpms/e-smith-pop3/sme8/e-smith-pop3-2.2.0-PopSoftlimit2.patch

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


Revision 1.1 - (hide annotations) (download)
Sat Jul 7 05:04:10 2012 UTC (12 years, 3 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-pop3-2_2_0-7_el5_sme, e-smith-pop3-2_2_0-8_el5_sme, e-smith-pop3-2_2_0-6_el5_sme, HEAD
 Easier to read version of softlimit patch [SME: 6994]

1 wellsi 1.1 diff -ruN e-smith-pop3-2.2.0.old/root/etc/e-smith/templates/var/service/pop3/env/MEMLIMIT e-smith-pop3-2.2.0/root/etc/e-smith/templates/var/service/pop3/env/MEMLIMIT
2     --- e-smith-pop3-2.2.0.old/root/etc/e-smith/templates/var/service/pop3/env/MEMLIMIT 2012-07-06 07:15:28.000000000 +0100
3     +++ e-smith-pop3-2.2.0/root/etc/e-smith/templates/var/service/pop3/env/MEMLIMIT 2012-07-07 05:41:57.000000000 +0100
4     @@ -3,5 +3,7 @@
5     my $MIN_MEMORY_LIMIT = 40000000;
6    
7     # The MIN_MEMORY_LIMIT is returned unless the DB variable is defined and greater than MIN_MEMORY_LIMIT
8     -$OUT = (not defined ($pop3{MemLimit})) || ($pop3{MemLimit} < $MIN_MEMORY_LIMIT) ? $MIN_MEMORY_LIMIT : $pop3{MemLimit};
9     +my $limit = $pop3{MemLimit} || $MIN_MEMORY_LIMIT;
10     +$limit = $MIN_MEMORY_LIMIT if $limit < $MIN_MEMORY_LIMIT;
11     +$OUT = "$limit";
12     }
13     diff -ruN e-smith-pop3-2.2.0.old/root/etc/e-smith/templates/var/service/pop3s/env/MEMLIMIT e-smith-pop3-2.2.0/root/etc/e-smith/templates/var/service/pop3s/env/MEMLIMIT
14     --- e-smith-pop3-2.2.0.old/root/etc/e-smith/templates/var/service/pop3s/env/MEMLIMIT 2012-07-06 07:15:28.000000000 +0100
15     +++ e-smith-pop3-2.2.0/root/etc/e-smith/templates/var/service/pop3s/env/MEMLIMIT 2012-07-07 05:41:39.000000000 +0100
16     @@ -3,5 +3,7 @@
17     my $MIN_MEMORY_LIMIT = 40000000;
18    
19     # The MIN_MEMORY_LIMIT is returned unless the DB variable is defined and greater than MIN_MEMORY_LIMIT
20     -$OUT = (not defined ($pop3s{MemLimit})) || ($pop3s{MemLimit} < $MIN_MEMORY_LIMIT) ? $MIN_MEMORY_LIMIT : $pop3s{MemLimit};
21     +my $limit = $pop3s{MemLimit} || $MIN_MEMORY_LIMIT;
22     +$limit = $MIN_MEMORY_LIMIT if $limit < $MIN_MEMORY_LIMIT;
23     +$OUT = "$limit";
24     }

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