31057a08c0
see http://www.opencm.org/news.html for hilights of this update, major noteworthy changes include: - sxd has gone away, gzfs is 'interim' while 'sxd2' is almost ready - if you have an old sxd repository, read the mailing list archives for how to update (use an interum version) - an incompatible update to the server/client protocol requires that you update both at the same time (as a reminder, this is 'alpha' and as such is subject to incompatible changes like the above. expect more to come when sxd2 emerges) Also, add a 'nogc' flavor that removes the dependency on boehm-gc, at the cost of not free()'ing all memory allocated (read: at the moment, most).
22 lines
671 B
Plaintext
22 lines
671 B
Plaintext
$OpenBSD: patch-base_src_common_ObDict_c,v 1.1 2003/05/23 13:22:14 todd Exp $
|
|
--- base/src/common/ObDict.c.orig Wed Jan 1 01:53:25 2003
|
|
+++ base/src/common/ObDict.c Thu May 22 17:46:42 2003
|
|
@@ -67,7 +67,7 @@ obdict_check(ObDict *dict)
|
|
ObDictEntry *
|
|
ode_create(const char *tn, void *vp, unsigned w)
|
|
{
|
|
- ObDictEntry *ode = GC_MALLOC(sizeof(ObDictEntry));
|
|
+ ObDictEntry *ode = malloc(sizeof(ObDictEntry));
|
|
ode->trueName = tn;
|
|
|
|
ode->tnHash = truename_hash(tn);
|
|
@@ -82,7 +82,7 @@ ode_create(const char *tn, void *vp, uns
|
|
ObDict *
|
|
obdict_create(void)
|
|
{
|
|
- ObDict *dict = GC_MALLOC(sizeof(ObDict));
|
|
+ ObDict *dict = malloc(sizeof(ObDict));
|
|
return dict;
|
|
}
|
|
|