diff options
author | imp <imp@FreeBSD.org> | 1998-04-28 05:08:10 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1998-04-28 05:08:10 +0000 |
commit | 80f5545693f1e8a351e28d316587f2dfbeb3daf1 (patch) | |
tree | 6b7d350c662d75df3c0636c42884d1add61597c4 | |
parent | 3f47a3231dd1d0881fca5142e4131dadd6a8317b (diff) | |
download | FreeBSD-src-80f5545693f1e8a351e28d316587f2dfbeb3daf1.zip FreeBSD-src-80f5545693f1e8a351e28d316587f2dfbeb3daf1.tar.gz |
Use historically correct error message in some cases, optionally.
-rw-r--r-- | usr.bin/make/job.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c index 01e493f..dae22ca 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; } } |