Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make report a sensible error if wait() fails.



details:   https://anonhg.NetBSD.org/src/rev/55ccb23c30e8
branches:  trunk
changeset: 467416:55ccb23c30e8
user:      sommerfe <sommerfe%NetBSD.org@localhost>
date:      Wed Mar 24 13:19:26 1999 +0000

description:
report a sensible error if wait() fails.

diffstat:

 usr.bin/make/compat.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 9f52e0562900 -r 55ccb23c30e8 usr.bin/make/compat.c
--- a/usr.bin/make/compat.c     Wed Mar 24 12:59:15 1999 +0000
+++ b/usr.bin/make/compat.c     Wed Mar 24 13:19:26 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat.c,v 1.26 1998/11/11 19:37:06 christos Exp $     */
+/*     $NetBSD: compat.c,v 1.27 1999/03/24 13:19:26 sommerfe Exp $     */
 
 /*
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -39,14 +39,14 @@
  */
 
 #ifdef MAKE_BOOTSTRAP
-static char rcsid[] = "$NetBSD: compat.c,v 1.26 1998/11/11 19:37:06 christos Exp $";
+static char rcsid[] = "$NetBSD: compat.c,v 1.27 1999/03/24 13:19:26 sommerfe Exp $";
 #else
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static char sccsid[] = "@(#)compat.c   8.2 (Berkeley) 3/19/94";
 #else
-__RCSID("$NetBSD: compat.c,v 1.26 1998/11/11 19:37:06 christos Exp $");
+__RCSID("$NetBSD: compat.c,v 1.27 1999/03/24 13:19:26 sommerfe Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -344,7 +344,7 @@
            }
            break;
        } else {
-           Fatal ("error in wait: %d", stat);
+           Fatal ("error in wait: %d: %s", stat, strerror(errno));
            /*NOTREACHED*/
        }
     }



Home | Main Index | Thread Index | Old Index