From 3a42f937f1166536777b03924fbbe46b73a6c98d Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Tue, 28 Apr 1998 05:08:10 +0000 Subject: [PATCH] Use historically correct error message in some cases, optionally. --- usr.bin/make/job.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c index 01e493f7464..dae22ca1c6a 100644 --- a/usr.bin/make/job.c +++ b/usr.bin/make/job.c @@ -35,13 +35,17 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: job.c,v 1.7 1997/02/22 19:27:11 peter Exp $ */ #ifndef lint static char sccsid[] = "@(#)job.c 8.2 (Berkeley) 3/19/94"; #endif /* not lint */ +#ifndef OLD_JOKE +#define OLD_JOKE 0 +#endif /* OLD_JOKE */ + /*- * job.c -- * handle the creation etc. of our child processes. @@ -1125,7 +1129,12 @@ Job_CheckCommands(gn, abortProc) (void) fflush(stdout); return FALSE; } else { - (*abortProc)("%s %s. Stop", msg, gn->name); +#if OLD_JOKE + if (strcmp(gn->name,"love") == 0) + (*abortProc)("Not war."); + else +#endif + (*abortProc)("%s %s. Stop", msg, gn->name); return FALSE; } }