From corecode@corecode.ath.cx  Tue Mar 12 16:45:12 2002
Return-Path: <corecode@corecode.ath.cx>
Received: from mailout02.sul.t-online.com (mailout02.sul.t-online.com [194.25.134.17])
	by hub.freebsd.org (Postfix) with ESMTP id BB8CA37B402
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 12 Mar 2002 16:45:11 -0800 (PST)
Received: from fwd11.sul.t-online.de 
	by mailout02.sul.t-online.com with smtp 
	id 16kwso-0000eh-02; Wed, 13 Mar 2002 01:44:46 +0100
Received: from spirit.corecode.ath.cx (320050403952-0001@[217.82.54.55]) by fmrl11.sul.t-online.com
	with esmtp id 16kwsh-1kOZIOC; Wed, 13 Mar 2002 01:44:39 +0100
Received: from elevation.zuhause.stoert.net (elevation.zuhause.stoert.net [192.168.66.46])
	by spirit.corecode.ath.cx (8.11.6/8.11.6) with ESMTP id g2D0ids73515
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 13 Mar 2002 01:44:39 +0100 (CET)
	(envelope-from corecode@corecode.ath.cx)
Received: (from corecode@localhost)
	by elevation.zuhause.stoert.net (8.11.6/8.11.6) id g2D0id281749;
	Wed, 13 Mar 2002 01:44:39 +0100 (CET)
	(envelope-from corecode)
Message-Id: <200203130044.g2D0id281749@elevation.zuhause.stoert.net>
Date: Wed, 13 Mar 2002 01:44:39 +0100 (CET)
From: "Simon 'corecode' Schubert" <corecode@corecode.ath.cx>
Reply-To: "Simon 'corecode' Schubert" <corecode@corecode.ath.cx>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: maintainer update: mail/sylpheed-claws (fix bug on local delivery)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         35835
>Category:       ports
>Synopsis:       maintainer update: mail/sylpheed-claws (fix bug on local delivery)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 12 16:50:00 PST 2002
>Closed-Date:    Wed Mar 13 02:20:59 PST 2002
>Last-Modified:  Wed Mar 13 02:21:12 PST 2002
>Originator:     Simon 'corecode' Schubert
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD elevation.zuhause.stoert.net 4.5-STABLE FreeBSD 4.5-STABLE #8: Fri Mar 1 23:38:06 CET 2002 corecode@elevation.zuhause.stoert.net:/usr/obj/i386/k7/usr/src/sys/ELEVATION i386


	
>Description:
	upstream version of sylpheed-claws contains a malicious error check
	which prevents correct local mail delivery on freebsd platform.
	an delivery error may be reported whereas the mail was sent correctly.
	this behavior may result in duplicate mail deliveries initiated by a
	confused user.
	this patch provides a workaround; upstream authors have been notified.
	this workaround or a similar bugfix will be included in the next upstream
	version.
	
>How-To-Repeat:
	use local delivery and try to send a mail. sylpheed-claws reports error
	about delivery though mail was accepted by sendmail and is being delivered.
	
>Fix:

	add this file to the repo

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	files/patch-src-send.c
#
echo x - files/patch-src-send.c
sed 's/^X//' >files/patch-src-send.c << 'END-of-files/patch-src-send.c'
X--- src/send.c	10 Mar 2002 14:09:59 -0000	1.26
X+++ src/send.c	13 Mar 2002 00:41:07 -0000
X@@ -234,7 +234,7 @@
X 	}
X 
X 	r = pclose(pipefp);
X-	if (r != 0) {
X+	if (r > 0) {
X 		g_warning(_("external command failed: %s\n"), command);
X 		return -1;
X 	}
END-of-files/patch-src-send.c
exit

	


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pat 
State-Changed-When: Wed Mar 13 02:20:59 PST 2002 
State-Changed-Why:  
Committed, Thanks! 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=35835 
>Unformatted:
