[cairo-commit] cairo/src cairo_cache.c,1.3,1.4
Carl Worth
commit at pdx.freedesktop.org
Tue Nov 23 13:38:11 PST 2004
Committed by: cworth
Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv12019/src
Modified Files:
cairo_cache.c
Log Message:
* test/Makefile.am (XFAIL_TESTS): Note that text_cache_crash is
expected to fail.
* test/text_cache_crash.c (draw): Add test to demonstrate bug when
item is too big for cache.
* src/cairo_cache.c (_cache_sane_state): Really remove that
refcount assertion this time.
Index: cairo_cache.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_cache.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- cairo_cache.c 23 Nov 2004 20:53:46 -0000 1.3
+++ cairo_cache.c 23 Nov 2004 21:38:09 -0000 1.4
@@ -121,9 +121,6 @@
assert (cache->entries != NULL);
assert (cache->backend != NULL);
assert (cache->arrangement != NULL);
-/* XXX: This check is broken during destroy
- assert (cache->refcount > 0);
-*/
assert (cache->used_memory <= cache->max_memory);
assert (cache->live_entries <= cache->arrangement->size);
}
More information about the cairo-commit
mailing list