svn: /pecl/apc/trunk/ apc_cache.c

From: Date: Tue, 24 May 2011 06:17:41 +0000
Subject: svn: /pecl/apc/trunk/ apc_cache.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-15678@lists.php.net to get a copy of this message
gopalv Tue, 24 May 2011 06:17:41 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=311376 Log: do not pollute the slots table with unoccupied slots Changed paths: U pecl/apc/trunk/apc_cache.c Modified: pecl/apc/trunk/apc_cache.c =================================================================== --- pecl/apc/trunk/apc_cache.c 2011-05-24 05:06:53 UTC (rev 311375) +++ pecl/apc/trunk/apc_cache.c 2011-05-24 06:17:41 UTC (rev 311376) @@ -1290,7 +1290,9 @@ add_next_index_zval(list, link); j++; } - add_next_index_long(slots, j); + if(j != 0) { + add_index_long(slots, (ulong)i, j); + } } /* For each slot pending deletion */

« previous php.pecl.cvs (#15678) next »