Hi,

In function scm_gc_sweep () (gc.c:1922) appears the following condition:

  if (scm_mallocated < m)
    abort ();

The comment above the abort () is very clear about why this happens.
However, since the triggering of this abort () can only be due to the
non respect of Guile's programming conventions by the programmer, I
think it would be a good idea to rather use something like

  assert (scm_mallocated < m);

instead of just abort ().  At least, this would allow programmers who
don't have the Guile source tree on their computer to google and see
what this assertion is about. ;)

Thanks,
Ludovic.

PS : Please, CC me in replies.


_______________________________________________
Bug-guile mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-guile

Reply via email to