From e84cfe875b09bfb62852c3affa9ceb38379cec87 Mon Sep 17 00:00:00 2001 From: pk Date: Thu, 14 Mar 2002 08:07:55 +0000 Subject: [PATCH] Job_AbortAll(): add missing Lst_Close(). --- usr.bin/make/job.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c index 6de24681cc6d..148446c43291 100644 --- a/usr.bin/make/job.c +++ b/usr.bin/make/job.c @@ -1,4 +1,4 @@ -/* $NetBSD: job.c,v 1.62 2002/03/13 17:46:03 pk Exp $ */ +/* $NetBSD: job.c,v 1.63 2002/03/14 08:07:55 pk Exp $ */ /* * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. @@ -39,14 +39,14 @@ */ #ifdef MAKE_BOOTSTRAP -static char rcsid[] = "$NetBSD: job.c,v 1.62 2002/03/13 17:46:03 pk Exp $"; +static char rcsid[] = "$NetBSD: job.c,v 1.63 2002/03/14 08:07:55 pk Exp $"; #else #include #ifndef lint #if 0 static char sccsid[] = "@(#)job.c 8.2 (Berkeley) 3/19/94"; #else -__RCSID("$NetBSD: job.c,v 1.62 2002/03/13 17:46:03 pk Exp $"); +__RCSID("$NetBSD: job.c,v 1.63 2002/03/14 08:07:55 pk Exp $"); #endif #endif /* not lint */ #endif @@ -3117,9 +3117,9 @@ Job_Wait() void Job_AbortAll() { - LstNode ln; /* element in job table */ - Job *job; /* the job descriptor in that element */ - int foo; + LstNode ln; /* element in job table */ + Job *job; /* the job descriptor in that element */ + int foo; aborting = ABORT_ERROR; @@ -3146,6 +3146,7 @@ Job_AbortAll() KILL(job->pid, SIGKILL); #endif /* RMT_WANTS_SIGNALS */ } + Lst_Close(jobs); } /*