A bug?

Donald Beaudry (don@vicorp.com)
Tue, 8 Mar 94 09:00:14 EST

I was browsing the source for the mapping objects and I found, what I
suspect to be a bug. The public function getmappingitems() calls the
local function mapping_values(), just like the getmappingvalues()
does. I suspect that it should be calling mapping_items() instead.

object *
getmappingitems(mp)
object *mp;
{
if (mp == NULL || !is_mappingobject(mp)) {
err_badcall();
return NULL;
}

return mapping_items((mappingobject *)mp, (object *)NULL);
}

I'm using version 1.0.0, I did not check if this was fixed in a later
release.

______ ______
\_\_\_\ /#/#/#/
\_\_\_\ ______
\_\_\_V#/#/#/ Donald Beaudry don@vicorp.com
\_\_/#/#/#/ V. I. Corporation uunet!vicorp!don
\_/#/#/#/ 47 Pleasant Street PHONE: (413) 586-4144
V#/#/#/ Northampton, MA 01060 FAX: (413) 586-3805