Source-Changes-HG archive

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

[src/netbsd-1-4]: src/usr.bin/man Pull up revision 1.17 (requested by kim):



details:   https://anonhg.NetBSD.org/src/rev/5c5ca14cfd73
branches:  netbsd-1-4
changeset: 470514:5c5ca14cfd73
user:      he <he%NetBSD.org@localhost>
date:      Sun Apr 30 11:11:45 2000 +0000

description:
Pull up revision 1.17 (requested by kim):
  Fix a problem where files were not removed on SIGPIPE.

diffstat:

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

diffs (26 lines):

diff -r 4ad6c76aed2b -r 5c5ca14cfd73 usr.bin/man/man.c
--- a/usr.bin/man/man.c Sun Apr 30 10:44:12 2000 +0000
+++ b/usr.bin/man/man.c Sun Apr 30 11:11:45 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: man.c,v 1.15.2.1 1999/06/23 14:20:51 perry Exp $       */
+/*     $NetBSD: man.c,v 1.15.2.2 2000/04/30 11:11:45 he Exp $  */
 
 /*
  * Copyright (c) 1987, 1993, 1994, 1995
@@ -44,7 +44,7 @@
 #if 0
 static char sccsid[] = "@(#)man.c      8.17 (Berkeley) 1/31/95";
 #else
-__RCSID("$NetBSD: man.c,v 1.15.2.1 1999/06/23 14:20:51 perry Exp $");
+__RCSID("$NetBSD: man.c,v 1.15.2.2 2000/04/30 11:11:45 he Exp $");
 #endif
 #endif /* not lint */
 
@@ -296,6 +296,7 @@
         */
        (void)signal(SIGINT, onsig);
        (void)signal(SIGHUP, onsig);
+       (void)signal(SIGPIPE, onsig);
 
        memset(&pg, 0, sizeof(pg));
        for (found = 0; *argv; ++argv)



Home | Main Index | Thread Index | Old Index