summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2009-08-16 09:50:13 +0000
committerespie <espie@openbsd.org>2009-08-16 09:50:13 +0000
commitc7b227de40e1dc234a3bcd02296e9516070e7515 (patch)
tree4f1326ff42a79bc29a5af717f2e10d348c9cba5d
parentwrite sensible error message (diff)
downloadwireguard-openbsd-c7b227de40e1dc234a3bcd02296e9516070e7515.tar.xz
wireguard-openbsd-c7b227de40e1dc234a3bcd02296e9516070e7515.zip
remove useless comments
-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;