From 110acfcd2b563469f03bdc406b852342bf2ad283 Mon Sep 17 00:00:00 2001 From: Julian Elischer Date: Sun, 10 Oct 1999 20:39:36 +0000 Subject: [PATCH] Fix the following: It appears that make fails to read the global symbol table of the archive file, making it think that the library needs to be rebuilt. fix supplied in PR: PR: bin/14167 Submitted by: Sebastian Lederer Reviewed by: gallatin@FreeBSD.ORG --- usr.bin/make/arch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/make/arch.c b/usr.bin/make/arch.c index 302777a965e..7ae642aa91b 100644 --- a/usr.bin/make/arch.c +++ b/usr.bin/make/arch.c @@ -807,7 +807,7 @@ ArchFindMember (archive, member, arhPtr, mode) * the comparisons easier... */ cp = strrchr (member, '/'); - if (cp != (char *) NULL) { + if ((cp != NULL) && (strcmp(member, RANLIBMAG) != 0)) { member = cp + 1; } len = tlen = strlen (member);