/[smeserver]/rpms/qpsmtpd/sme9/0037-Revert-Spool-body-when-transaction-body_fh-is-called.patch
ViewVC logotype

Annotation of /rpms/qpsmtpd/sme9/0037-Revert-Spool-body-when-transaction-body_fh-is-called.patch

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


Revision 1.1 - (hide annotations) (download)
Sat Feb 2 00:59:45 2013 UTC (11 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: qpsmtpd-0_84-14_el6_sme, qpsmtpd-0_84-16_el6_sme, qpsmtpd-0_84-12_el6_sme, qpsmtpd-0_96-7_el6_sme, qpsmtpd-0_96-2_el6_sme, qpsmtpd-0_84-13_el6_sme, qpsmtpd-0_84-6_el6_sme, qpsmtpd-0_84-18_el6_sme, qpsmtpd-0_84-9_el6_sme, qpsmtpd-0_84-4_el6_sme, qpsmtpd-0_96-11_el6_sme, qpsmtpd-0_84-15_el6_sme, qpsmtpd-0_96-4_el6_sme, qpsmtpd-0_96-3_el6_sme, qpsmtpd-0_96-10_el6_sme, qpsmtpd-0_84-17_el6_sme, qpsmtpd-0_84-7_el6_sme, qpsmtpd-0_96-5_el6_sme, qpsmtpd-0_84-10_el6_sme, qpsmtpd-0_84-8_el6_sme, qpsmtpd-0_96-1_el6_sme, qpsmtpd-0_84-5_el6_sme, qpsmtpd-0_96-6_el6_sme, qpsmtpd-0_96-8_el6_sme, qpsmtpd-0_84-11_el6_sme, qpsmtpd-0_96-9_el6_sme, HEAD
* Fri Feb 1 2013 Shad L. Lords <slords@mail.com> 0.84-4.sme
- Update spec so building on rhel6 works [SME: 7263]

1 slords 1.1 From 461dabc3e1e7ef456358c15219b2b343c02ff43e Mon Sep 17 00:00:00 2001
2     From: Robert <rspier@pobox.com>
3     Date: Fri, 29 Oct 2010 22:19:30 -0700
4     Subject: Revert "Spool body when $transaction->body_fh() is called"
5    
6     This reverts commit a52660a646012691f993cca821c00fe05cff08bb.
7    
8     See http://www.nntp.perl.org/group/perl.qpsmtpd/2010/10/msg9453.html for discussion.
9     ---
10     Changes | 2 ++
11     lib/Qpsmtpd/Transaction.pm | 5 +----
12     2 files changed, 3 insertions(+), 4 deletions(-)
13    
14     diff --git a/Changes b/Changes
15     index a864b4f..a3437ef 100644
16     --- a/Changes
17     +++ b/Changes
18     @@ -16,6 +16,8 @@ Next Version
19    
20     assorted documentation cleanups (Steve Kemp, Robert Spier)
21    
22     + Revert "Spool body when $transaction->body_fh() is called"
23     +
24     0.84 April 7, 2010
25    
26     uribl: fix scan-headers option (Jost Krieger, Robert Spier)
27     diff --git a/lib/Qpsmtpd/Transaction.pm b/lib/Qpsmtpd/Transaction.pm
28     index 1dec547..a828fb6 100644
29     --- a/lib/Qpsmtpd/Transaction.pm
30     +++ b/lib/Qpsmtpd/Transaction.pm
31     @@ -213,10 +213,7 @@ sub body_as_string {
32     }
33    
34     sub body_fh {
35     - my ($self) = @_;
36     - # Spool to disk if we weren't already doing so
37     - $self->body_spool() unless $self->{_filename};
38     - return $self->{_body_file};
39     + return shift->{_body_file};
40     }
41    
42     sub dup_body_fh {
43     --
44     1.7.2.2
45    

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