Changeset 169
- Timestamp:
- 02/20/06 23:36:45 (3 years ago)
- Files:
-
- eaccelerator/trunk/ChangeLog (modified) (1 diff)
- eaccelerator/trunk/cache.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
eaccelerator/trunk/ChangeLog
r168 r169 3 3 * Fixed bypassing open_basedir restriction when the file was already 4 4 cached. This fixes bug #1427719 5 * Included patch #1435196 to fix the problem of duplicate keys that 6 don't get removed. 5 7 6 8 2006-02-20 Hans Rakers <hans at parse dot nl> eaccelerator/trunk/cache.c
r123 r169 210 210 { 211 211 mm_user_cache_entry *p, *q; 212 unsigned int slot ;212 unsigned int slot, hv; 213 213 long size; 214 214 int use_shm = 1; … … 306 306 */ 307 307 slot = q->hv & MM_USER_HASH_MAX; 308 hv = q->hv; 308 309 EACCELERATOR_LOCK_RW (); 309 310 eaccelerator_mm_instance->user_hash_cnt++; … … 312 313 p = q->next; 313 314 while (p != NULL) { 314 if ((p->hv == q->hv) && (strcmp (p->key, xkey) == 0)) {315 if ((p->hv == hv) && (strcmp (p->key, xkey) == 0)) { 315 316 eaccelerator_mm_instance->user_hash_cnt--; 316 317 q->next = p->next;