summaryrefslogtreecommitdiff
path: root/usr.bin/make/suff.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2000-03-14 19:00:33 +0000
committerMarc Espie <espie@cvs.openbsd.org>2000-03-14 19:00:33 +0000
commita95a71295152d8e6facddf6d495f2106d1d0d256 (patch)
treed50abca1edd92538b216182c7934fd47489d31b3 /usr.bin/make/suff.c
parent0e8dd0067006a540d39d151123f7be393fb676c4 (diff)
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.
Diffstat (limited to 'usr.bin/make/suff.c')
-rw-r--r--usr.bin/make/suff.c6
1 files changed, 4 insertions, 2 deletions
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);
}