Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make You cannot meaningfully test if a non-existent ...
details: https://anonhg.NetBSD.org/src/rev/3a794c4084f0
branches: trunk
changeset: 481439:3a794c4084f0
user: sjg <sjg%NetBSD.org@localhost>
date: Mon Jan 31 13:21:20 2000 +0000
description:
You cannot meaningfully test if a non-existent file has a correct
archive header, so don't try - just believe gn->type & OP_LIB.
diffstat:
usr.bin/make/make.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 43bd136a5c9d -r 3a794c4084f0 usr.bin/make/make.c
--- a/usr.bin/make/make.c Mon Jan 31 12:47:29 2000 +0000
+++ b/usr.bin/make/make.c Mon Jan 31 13:21:20 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: make.c,v 1.24 1999/09/16 00:54:14 mycroft Exp $ */
+/* $NetBSD: make.c,v 1.25 2000/01/31 13:21:20 sjg Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -39,14 +39,14 @@
*/
#ifdef MAKE_BOOTSTRAP
-static char rcsid[] = "$NetBSD: make.c,v 1.24 1999/09/16 00:54:14 mycroft Exp $";
+static char rcsid[] = "$NetBSD: make.c,v 1.25 2000/01/31 13:21:20 sjg Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)make.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: make.c,v 1.24 1999/09/16 00:54:14 mycroft Exp $");
+__RCSID("$NetBSD: make.c,v 1.25 2000/01/31 13:21:20 sjg Exp $");
#endif
#endif /* not lint */
#endif
@@ -202,7 +202,8 @@
printf(".USE node...");
}
oodate = FALSE;
- } else if ((gn->type & OP_LIB) && Arch_IsLib(gn)) {
+ } else if ((gn->type & OP_LIB) &&
+ ((gn->mtime==0) || Arch_IsLib(gn))) {
if (DEBUG(MAKE)) {
printf("library...");
}
Home |
Main Index |
Thread Index |
Old Index