[sup-devel] [PATCH] s/@filename/@path/ in MBox#store_message

2010-08-16 Thread Adam Lloyd
lib/sup/mbox.rb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) @filename is undefined in MBox, so trying to store a message to an mbox source results in a crash. @path contains the needed information. This fixes issues 79 and 89, related to crashes on sending mail. diff --git a/l

[sup-devel] [PATCH] [mq]: mbox-path-fix

2010-10-09 Thread Adam Lloyd
diff --git a/lib/sup/mbox.rb b/lib/sup/mbox.rb --- a/lib/sup/mbox.rb +++ b/lib/sup/mbox.rb @@ -90,8 +90,8 @@ end def store_message date, from_email, &block -need_blank = File.exists?(@filename) && !File.zero?(@filename) -File.open(@filename, "ab") do |f| +need_blank = File.exist

Re: [sup-devel] [PATCH] [mq]: mbox-path-fix

2010-10-09 Thread Adam Lloyd
Argh, /me is quite embarrassed. Please ignore this; I'll resend my patch properly. Apologies for the noise! -Adam ___ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel

[sup-devel] [PATCH] s/@filename/@path/ in MBox#store_message

2010-10-09 Thread Adam Lloyd
lib/sup/mbox.rb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) @filename is undefined in MBox, so trying to store a message to an mbox source results in a crash. @path contains the needed information. This fixes issues 79 and 89, related to crashes on sending mail. diff --git a/l