Branch: Tag:

2000-02-04

2000-02-04 20:16:18 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

another mapping bug bites the dust

Rev: src/mapping.c:1.61
Rev: src/testsuite.in:1.267

1: - test_true([["$Id: testsuite.in,v 1.266 2000/02/04 00:50:59 hubbe Exp $"]]); + test_true([["$Id: testsuite.in,v 1.267 2000/02/04 20:16:18 hubbe Exp $"]]);      cond([[all_constants()->_verify_internals]],   [[
1561:    gc();    return !sizeof (m);    ]]) +  +  test_any([[ +  mapping m=([]); +  m->self=m; +  +  mapping q=(["foo":"bar","gazonk":1]); +  m->q=q; +  +  q+=([]); +  m=0; +  gc(); +  return sizeof(q); +  ]],2)   ]])      cond([[ sizeof( cpp("__AUTO_BIGNUM__")/"__AUTO_BIGNUM__" ) == 1 ]],