Julian Bradfield <jcb+xeb(a)jcbradfield.org> writes:
> As usual when I try to do anything, I find I really don't quite
> understand GC and when GCPRO is necessary.
Did you look at the section on garbage collection in the internals
manual? In particular, there's a subsection on GCPRO.
Yes...but I should have read the Invocation section more carefully.
> concat() in fns.c GCPROs its arguments, to be helpful to the
> What is it that concat() does that could cause a GC or QUIT?
It allocates. If there's not enough free space in the heap to satisfy
an allocation, a GC is triggered.
The manual clearly says "this is _not_ the case".
XEmacs-Beta mailing list