1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 06:20:23 +02:00

* gc.c (scm_gc_sweep): Count cells correctly. (Thanks to Ben

Caradoc-Davies.)
This commit is contained in:
Mikael Djurfeldt 1998-04-12 10:23:20 +00:00
parent 1609038c87
commit 6f3067f1e0
3 changed files with 5 additions and 0 deletions

1
THANKS
View file

@ -9,6 +9,7 @@ Bug reports and fixes from:
Greg Badros
Aleksandar Bakic
Per Bothner
Ben Caradoc-Davies
Marcus Daniels
Fred Fish
Jesse N. Glick

View file

@ -1,5 +1,8 @@
1998-04-12 Mikael Djurfeldt <mdj@kenneth>
* gc.c (scm_gc_sweep): Count cells correctly. (Thanks to Ben
Caradoc-Davies.)
* eval.c (SCM_CEVAL, SCM_APPLY): In SCM_IM_APPLY and in the
procedure apply: Copy argument lists before pushing them unto the
environment so that the environment won't get mutated due to

View file

@ -1289,6 +1289,7 @@ scm_gc_sweep ()
if (n == seg_size)
{
scm_heap_size -= seg_size;
n = 0;
free ((char *) scm_heap_table[i].bounds[0]);
scm_heap_table[i].bounds[0] = 0;
for (j = i + 1; j < scm_n_heap_segs; j++)