[stsf-commit] stsf/stsflib sharedcache.c,1.2,1.3
Alexander Gelfenbain
stsf-commit at pdx.freedesktop.org
Tue May 25 14:08:24 PDT 2004
Committed by: adg
Index: sharedcache.c
===================================================================
RCS file: /cvs/stsf/stsf/stsflib/sharedcache.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- a/sharedcache.c 22 Apr 2004 20:56:32 -0000 1.2
+++ b/sharedcache.c 25 May 2004 21:08:21 -0000 1.3
@@ -231,7 +231,11 @@
memset(cache+sc->ioffs, 0, sc->itotal * sizeof(SCIndexEntry));
- SharedCacheDump(cache); /* #defines to a no-op in production build */
+#if STSF_DEBUG
+ if (DebugLevel > 5) {
+ SharedCacheDump(cache); /* #defines to a no-op in production build */
+ }
+#endif
return 0;
}
More information about the stsf-commit
mailing list