* gc.c (scm_igc): Check for scm_mallocated underflow. Otherwise,
authorJim Blandy <jimb@red-bean.com>
Wed, 9 Jun 1999 12:18:40 +0000 (12:18 +0000)
committerJim Blandy <jimb@red-bean.com>
Wed, 9 Jun 1999 12:18:40 +0000 (12:18 +0000)
commitc45acc349c64da584ab40dfd4e4fbff12d92fe41
tree153116d7d59430711835ca0999647248113fda12
parente4cd0c0a445b688ee045a2e0993f2b9191cae1a1
* gc.c (scm_igc): Check for scm_mallocated underflow.  Otherwise,
it shows up as terrible performance, as we GC constantly.
* gc.c (scm_init_storage): install an atexit proc to flush the
ports.
(cleanup): the new proc.  it sets a global variable which can be
checked by the ptob flush procs to avoid trying to throw
exceptions during exit.  not very pleasant but it seems more reliable.
* fports.c (local_fflush): check terminating variable and if set
don't throw exception.
* CHECKME: that the atexit proc is installed if unexec used.
libguile/gc.c