Source-Changes-HG archive

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

[src/netbsd-1-6]: src/usr.bin/mkdep Pull up revision 1.16 (requested by msait...



details:   https://anonhg.NetBSD.org/src/rev/a3b3a53d5d58
branches:  netbsd-1-6
changeset: 530456:a3b3a53d5d58
user:      grant <grant%NetBSD.org@localhost>
date:      Mon Jun 30 02:13:27 2003 +0000

description:
Pull up revision 1.16 (requested by msaitoh in ticket #1339):

catch SIGPIPE, too.

diffstat:

 usr.bin/mkdep/mkdep.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 931ac09a578a -r a3b3a53d5d58 usr.bin/mkdep/mkdep.c
--- a/usr.bin/mkdep/mkdep.c     Sun Jun 29 00:08:46 2003 +0000
+++ b/usr.bin/mkdep/mkdep.c     Mon Jun 30 02:13:27 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mkdep.c,v 1.10.2.1 2003/01/27 06:31:14 jmc Exp $ */
+/* $NetBSD: mkdep.c,v 1.10.2.2 2003/06/30 02:13:27 grant Exp $ */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -43,7 +43,7 @@
 #endif /* not lint */
 
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: mkdep.c,v 1.10.2.1 2003/01/27 06:31:14 jmc Exp $");
+__RCSID("$NetBSD: mkdep.c,v 1.10.2.2 2003/06/30 02:13:27 grant Exp $");
 #endif /* not lint */
 
 #if HAVE_CONFIG_H
@@ -198,6 +198,7 @@
        (void)signal(SIGINT, finish);
        (void)signal(SIGHUP, finish);
        (void)signal(SIGQUIT, finish);
+       (void)signal(SIGPIPE, finish);
        (void)signal(SIGTERM, finish);
        if ((tmpfd = mkstemp (tmpfilename)) < 0) {
                warn("unable to create temporary file %s", tmpfilename);



Home | Main Index | Thread Index | Old Index