summaryrefslogtreecommitdiff
path: root/usr.bin/make/job.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2009-08-16 09:50:14 +0000
committerMarc Espie <espie@cvs.openbsd.org>2009-08-16 09:50:14 +0000
commitf2deb34fdf42a13412449603c49d5a22d7a8c25d (patch)
treec38c0e34d1dd25891945e97614638cfed5b8666c /usr.bin/make/job.c
parent0ce8941de2c9ba9680aca0d1a0916a1b62e715dc (diff)
remove useless comments
Diffstat (limited to 'usr.bin/make/job.c')
-rw-r--r--usr.bin/make/job.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c
index b2023038876..b2c9da3c5b8 100644
--- a/usr.bin/make/job.c
+++ b/usr.bin/make/job.c
@@ -1,5 +1,5 @@
/* $OpenPackages$ */
-/* $OpenBSD: job.c,v 1.117 2009/05/10 11:07:37 espie Exp $ */
+/* $OpenBSD: job.c,v 1.118 2009/08/16 09:50:13 espie Exp $ */
/* $NetBSD: job.c,v 1.16 1996/11/06 17:59:08 christos Exp $ */
/*
@@ -413,9 +413,6 @@ handle_signal(int signo)
else if (signo == SIGHUP || signo == SIGTERM || signo == SIGQUIT)
JobInterrupt(false, signo);
- /*
- * Leave gracefully if SIGQUIT, rather than core dumping.
- */
if (signo == SIGQUIT)
Finish(0);
}
@@ -1054,8 +1051,7 @@ handle_all_jobs_output(void)
nfds = select(largest_fd+1, actual_mask, NULL, NULL, &timeout);
handle_all_signals();
- for (ln = Lst_First(&runningJobs); nfds && ln != NULL;
- ln = ln2) {
+ for (ln = Lst_First(&runningJobs); nfds && ln != NULL; ln = ln2) {
ln2 = Lst_Adv(ln);
job = (Job *)Lst_Datum(ln);
job->flags &= ~JOB_DIDOUTPUT;