From: espie Date: Tue, 14 Mar 2000 19:00:32 +0000 (+0000) Subject: Disable suffix removal for now, as it's buggy. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=252c0d8c3b6d7dcd890261a71077b7a73311a656;p=openbsd Disable suffix removal for now, as it's buggy. *If* refcounting is to be useful, the actual erasure of suffixes data should occur when stuff is moved from the suffList to the cleanList, and it's not at all clear whether all the extra baggage is actually any use. How many suffixes are we talking about anyway ? This lets gnupg build correctly without gnu-make. --- diff --git a/usr.bin/make/suff.c b/usr.bin/make/suff.c index eb1e3112469..bcb037fd8b1 100644 --- a/usr.bin/make/suff.c +++ b/usr.bin/make/suff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: suff.c,v 1.22 2000/01/08 09:45:15 espie Exp $ */ +/* $OpenBSD: suff.c,v 1.23 2000/03/14 19:00:32 espie Exp $ */ /* $NetBSD: suff.c,v 1.13 1996/11/06 17:59:25 christos Exp $ */ /* @@ -43,7 +43,7 @@ #if 0 static char sccsid[] = "@(#)suff.c 8.4 (Berkeley) 3/21/94"; #else -static char rcsid[] = "$OpenBSD: suff.c,v 1.22 2000/01/08 09:45:15 espie Exp $"; +static char rcsid[] = "$OpenBSD: suff.c,v 1.23 2000/03/14 19:00:32 espie Exp $"; #endif #endif /* not lint */ @@ -407,11 +407,13 @@ SuffRemove(l, s) Suff *s; { SuffUnRef((ClientData) l, (ClientData) s); +#if 0 if (s->refCount == 0) { SuffUnRef ((ClientData) sufflist, (ClientData) s); SuffFree((ClientData) s); s = NULL; } +#endif return (s); }