Browse Source

merged r390,r391 from trunk

git-svn-id: svn://svn.lighttpd.net/xcache/branches/1.3@603 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.3
Xuefer 13 years ago
parent
commit
2d3ca7c20c
  1. 2
      xc_malloc.c

2
xc_malloc.c

@ -147,6 +147,7 @@ static XC_SHM_CAN_READONLY(xc_malloc_can_readonly) /* {{{ */
/* }}} */
static XC_SHM_IS_READWRITE(xc_malloc_is_readwrite) /* {{{ */
{
#ifdef HAVE_XCACHE_TEST
HashPosition pos;
size_t *psize;
char **ptr;
@ -159,6 +160,7 @@ static XC_SHM_IS_READWRITE(xc_malloc_is_readwrite) /* {{{ */
}
zend_hash_move_forward_ex(&shm->blocks, &pos);
}
#endif
return 0;
}

Loading…
Cancel
Save