From a72d10185525aafd3fb4053573c5f44aa521f3d0 Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 16 May 2004 18:53:30 +0000 Subject: [PATCH] fixed bug in dependency handling. --- lib/python/tag.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/python/tag.c b/lib/python/tag.c index 13b4863..9a53b58 100644 --- a/lib/python/tag.c +++ b/lib/python/tag.c @@ -249,7 +249,9 @@ TAG* tag_getTAG(PyObject*self, TAG*prevTag, PyObject*tagmap) free(positions); return 0; } - int newid = tagmap_obj2id(tag->internals.tagmap, obj); + //int newid = tagmap_obj2id(tag->internals.tagmap, obj); + int newid = tagmap_obj2id(tagmap, obj); + mylog(" %08x(%d) tag_getTAG: dependency %d) %d->%08x -> assigning(%08x) id %d", (int)self, self->ob_refcnt, i, id, obj, tagmap, newid); PUT16(&t->data[positions[i]], newid); } free(positions); -- 1.7.10.4