nmh-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nmh-commits] nmh ChangeLog uip/mhmail.c


From: Peter Maydell
Subject: [Nmh-commits] nmh ChangeLog uip/mhmail.c
Date: Sat, 05 Apr 2008 19:04:42 +0000

CVSROOT:        /cvsroot/nmh
Module name:    nmh
Changes by:     Peter Maydell <pm215>   08/04/05 19:04:42

Modified files:
        .              : ChangeLog 
        uip            : mhmail.c 

Log message:
        * bug #18655: fix use of admonish() for a fatal error (should
        be adios(); only actual effect would be wrong exit code).
        Thanks to Craig Leres for spotting this.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/nmh/ChangeLog?cvsroot=nmh&r1=1.252&r2=1.253
http://cvs.savannah.gnu.org/viewcvs/nmh/uip/mhmail.c?cvsroot=nmh&r1=1.5&r2=1.6

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/nmh/nmh/ChangeLog,v
retrieving revision 1.252
retrieving revision 1.253
diff -u -b -r1.252 -r1.253
--- ChangeLog   5 Apr 2008 18:41:37 -0000       1.252
+++ ChangeLog   5 Apr 2008 19:04:41 -0000       1.253
@@ -1,5 +1,11 @@
 2008-04-05  Peter Maydell <address@hidden>
 
+       * bug #18655: fix use of admonish() for a fatal error (should
+       be adios(); only actual effect would be wrong exit code).
+       Thanks to Craig Leres for spotting this.
+
+2008-04-05  Peter Maydell <address@hidden>
+
        * bug #20028 (Debian bug 399271): fix code assuming that pointer
        differences were 32 bits -- thanks to Dean Gaudet for the patch.
 

Index: uip/mhmail.c
===================================================================
RCS file: /cvsroot/nmh/nmh/uip/mhmail.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- uip/mhmail.c        6 Jan 2006 21:51:44 -0000       1.5
+++ uip/mhmail.c        5 Apr 2008 19:04:42 -0000       1.6
@@ -2,7 +2,7 @@
 /*
  * mhmail.c -- simple mail program
  *
- * $Id: mhmail.c,v 1.5 2006/01/06 21:51:44 bress Exp $
+ * $Id: mhmail.c,v 1.6 2008/04/05 19:04:42 pm215 Exp $
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -173,7 +173,7 @@
 
     if (child_id == NOTOK) {
        /* report failure and then send it */
-       admonish (NULL, "unable to fork");
+       adios (NULL, "unable to fork");
     } else if (child_id) {
        /* parent process */
        if ((status = pidXwait(child_id, postproc))) {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]