Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 1996 22:01:27 +0200 (EET)
From:      Heikki Suonsivu <hsu@clinet.fi>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   gnu/1047: send-pr: Aborting...
Message-ID:  <199602272001.WAA12047@plentium.clinet.fi>
Resent-Message-ID: <199602272010.MAA20327@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         1047
>Category:       gnu
>Synopsis:       send-pr: Aborting...
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 27 12:10:01 PST 1996
>Last-Modified:
>Originator:     Heikki Suonsivu
>Organization:
Clinet, Espoo, Finland
>Release:        FreeBSD 2.2-CURRENT i386
>Environment:

-current from 4 days back

>Description:

send-pr sometimes after you have written your bug report and exit the
editor, will say

send-pr: Aborting...

and deletes your bug report without sending it.  Enormously irritating!

This actually was happening often long time ago, but it went away for
at least several months.  Now its back, or is happening less often.
It first ate my previous PR, then I rewrote it and it worked, and
tried to PR this problem, and again send-pr ate the report (but
learning from experience, I had written the buffer to a safe place
before exiting the editor!).

>How-To-Repeat:

Author lots of bug reports.

It may or may not help to use emacs to edit the pr's.

>Fix:

As a workaround I would suggest:

< # Catch some signals. ($xs kludge needed by Sun /bin/sh)
< xs=0
< trap 'rm -f $REF $TEMP; exit $xs' 0
< trap 'echo "$COMMAND: Aborting ..."; rm -f $REF $TEMP; xs=1; exit' 1 2 3 13 15
--
> # Catch some signals. ($xs kludge needed by Sun /bin/sh)
> xs=0
> trap 'rm -f $REF $TEMP; exit $xs' 0
> trap 'echo "$COMMAND: Aborting ..."; echo $REF $TEMP 'left around, clean up manually'; xs=1; exit' 1 2 3 13 15

This does not fix the actual problem, why does it get a signal?  A bug in sh?

-- 
Heikki Suonsivu, T{ysikuu 10 C 83/02210 Espoo/FINLAND, hsu@clinet.fi
mobile +358-40-5519679 work +358-0-4375360 fax -4555276 home -8031121
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602272001.WAA12047>