XEmacs prints "Cache full, freeing GC" from time to time to stderr.
There are more debug_out calls in xgccache.c, but they are all #if'd
out. That is what my patch does with the one that isn't.
I'll commit tomorrow, if nobody objects.
src/ChangeLog addition:
2006-02-16 Marcus Crestani <crestani(a)xemacs.org>
* xgccache.c (gc_cache_lookup): Remove "Cache full" warning.
afs-xemacs-21.5 source patch:
Diff command: cvs -q diff -u
Files affected: src/xgccache.c
Index: src/xgccache.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/xgccache.c,v
retrieving revision 1.13
diff -u -r1.13 xgccache.c
--- src/xgccache.c 26 Nov 2005 11:46:11 -0000 1.13
+++ src/xgccache.c 16 Feb 2006 15:37:41 -0000
@@ -233,7 +233,9 @@
cache->head = cell->next;
cache->head->prev = 0;
if (cache->tail == cell) cache->tail = 0; /* only one */
+#if 0
debug_out ("Cache full, freeing GC: %08lx\n ", XE_GCONTEXT(cell));
+#endif
XFreeGC (cache->dpy, cell->gc);
cache->delete_count++;
#ifdef GCCACHE_HASH
--
Marcus