From edwin@mavetju.org  Wed Nov 30 21:20:25 2005
Return-Path: <edwin@mavetju.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9EB2816A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 30 Nov 2005 21:20:25 +0000 (GMT)
	(envelope-from edwin@mavetju.org)
Received: from mail3out.barnet.com.au (mail3out.barnet.com.au [202.83.176.17])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B3C0943D46
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 30 Nov 2005 21:20:24 +0000 (GMT)
	(envelope-from edwin@mavetju.org)
Received: by mail3out.barnet.com.au (Postfix, from userid 27)
	id 9587C877D22; Thu,  1 Dec 2005 08:20:23 +1100 (EST)
Received: from mail3-auth.barnet.com.au (mail3.barnet.com.au [202.83.176.16])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "*.barnet.com.au", Issuer "BarNet Root Certificate Authority" (verified OK))
	by mail3.barnet.com.au (Postfix) with ESMTP id 71883877C9D
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  1 Dec 2005 08:20:23 +1100 (EST)
Received: from k7.mavetju (edwin-3.int.barnet.com.au [10.10.12.2])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "edwin.adsl.barnet.com.au", Issuer "BarNet Root Certificate Authority" (not verified))
	by mail3-auth.barnet.com.au (Postfix) with ESMTP id 1D7AE877C8C
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  1 Dec 2005 08:20:23 +1100 (EST)
Received: by k7.mavetju (Postfix, from userid 1001)
	id E310A62B0; Thu,  1 Dec 2005 08:20:21 +1100 (EST)
Message-Id: <20051130212021.E310A62B0@k7.mavetju>
Date: Thu,  1 Dec 2005 08:20:21 +1100 (EST)
From: Edwin Groothuis <edwin@mavetju.org>
Reply-To: Edwin Groothuis <edwin@mavetju.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: send-pr lies about saved reports
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         89777
>Category:       gnu
>Synopsis:       send-pr(1) lies about saved reports
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    philip
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 30 21:30:02 GMT 2005
>Closed-Date:    Sat Jun 02 18:07:17 GMT 2007
>Last-Modified:  Sun Jun  3 14:00:11 GMT 2007
>Originator:     Edwin Groothuis
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD k7.mavetju 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #8: Wed Dec 15 16
:58:01 EST 2004 edwin@k7.mavetju:/usr/src-5.2.1/sys/i386/compile/k7 i386

>Description:

While playing around with send-pr (yes, my fault), I ran into this:

        s)end, e)dit or a)bort? s
        sed: 11: "
        /^SEND-PR:/d
        /^>Organi ...": unterminated substitute pattern
        sendmail: fatal: No recipient addresses found in message header
        send-pr: mysterious mail failure.
        send-pr: the problem report remains in /tmp/pbad.5UUMoa9S and is not sen
t.

        [~] edwin@k7>file  /tmp/pbad.5UUMoa9S
        /tmp/pbad.5UUMoa9S: empty

So no saved problem report!

>How-To-Repeat:
>Fix:


>Release-Note:
>Audit-Trail:

From: Edwin Groothuis <edwin@mavetju.org>
To: FreeBSD Gnats Submit <freebsd-gnats-submit@freebsd.org>
Cc:  
Subject: Re: gnu/89777: send-pr(1) lies about saved reports
Date: Sat, 2 Jun 2007 14:25:16 +1000

 This patch will resolve it.
 
 --- send-pr.sh.orig	Sat Jun  2 14:23:08 2007
 +++ send-pr.sh	Sat Jun  2 14:24:46 2007
 @@ -576,7 +576,7 @@
    if [ -z "$BATCH" ]; then
      BAD=`mktemp -t pbad`
      echo "$COMMAND: the problem report remains in $BAD and is not sent."
 -    mv $REF $BAD
 +    mv $TEMP $BAD
    else
      echo "$COMMAND: the problem report is not sent."
    fi
 
 -- 
 Edwin Groothuis      |            Personal website: http://www.mavetju.org
 edwin@mavetju.org    |              Weblog: http://www.mavetju.org/weblog/
Responsible-Changed-From-To: freebsd-bugs->philip 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Jun 2 04:34:32 UTC 2007 
Responsible-Changed-Why:  
Philip, are you willing to commit this patch (as being the person 
who did it last time (about 7 months ago :-) 


http://www.freebsd.org/cgi/query-pr.cgi?pr=89777 
State-Changed-From-To: open->closed 
State-Changed-By: philip 
State-Changed-When: Sat Jun 2 18:07:15 UTC 2007 
State-Changed-Why:  
Done!  I hope this second commit doesn't mean I now "maintain" send-pr 
though. ;-) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89777 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: gnu/89777: commit references a PR
Date: Sat,  2 Jun 2007 18:06:16 +0000 (UTC)

 philip      2007-06-02 18:06:08 UTC
 
   FreeBSD src repository
 
   Modified files:
     gnu/usr.bin/send-pr  send-pr.sh 
   Log:
   Don't lie about saved reports.
   
   PR:             gnu/89777
   Submitted by:   edwin
   MFC after:      1 day
   
   Revision  Changes    Path
   1.39      +1 -1      src/gnu/usr.bin/send-pr/send-pr.sh
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: gnu/89777: commit references a PR
Date: Sun,  3 Jun 2007 13:52:52 +0000 (UTC)

 philip      2007-06-03 13:52:46 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     gnu/usr.bin/send-pr  send-pr.sh 
   Log:
   MFC: Don't lie about saved reports.
   
   PR:             gnu/89777
   Submitted by:   edwin
   
   Revision  Changes    Path
   1.36.2.1  +1 -1      src/gnu/usr.bin/send-pr/send-pr.sh
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
