- Timestamp:
- 12/03/2006 02:58:06 AM (2 years ago)
- Files:
-
- 1 modified
-
trunk/xcache.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xcache.c
r296 r297 244 244 { 245 245 #ifdef DEBUG 246 fprintf(stderr, "hold %s\n", ZSTR_S(xce->name));246 fprintf(stderr, "hold %s\n", xce->name.str.val); 247 247 #endif 248 248 xce->refcount ++; … … 291 291 { 292 292 #ifdef DEBUG 293 fprintf(stderr, "ttl % d, %d %d\n", XG(request_time),entry->atime, xc_php_ttl);293 fprintf(stderr, "ttl %lu, %lu %lu\n", (zend_ulong) XG(request_time), (zend_ulong) entry->atime, xc_php_ttl); 294 294 #endif 295 295 if (XG(request_time) > entry->atime + xc_php_ttl) { … … 310 310 { 311 311 #ifdef DEBUG 312 fprintf(stderr, "interval % d, %d %d\n", XG(request_time),cache->last_gc_expires, gc_interval);312 fprintf(stderr, "interval %lu, %lu %lu\n", (zend_ulong) XG(request_time), (zend_ulong) cache->last_gc_expires, gc_interval); 313 313 #endif 314 314 if (XG(request_time) - cache->last_gc_expires >= gc_interval) { … … 632 632 xce = (xc_entry_t*) xc_stack_pop(s); 633 633 #ifdef DEBUG 634 fprintf(stderr, "unhold %s\n", ZSTR_S(xce->name));634 fprintf(stderr, "unhold %s\n", xce->name.str.val); 635 635 #endif 636 636 xce->refcount --;

