php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch lazy_stat.patch for APC Bug #59818Patch version 2013-02-10 12:43 UTC Return to Bug #59818 | Download this patchThis patch renders other patches obsolete Obsolete patches: Patch Revisions: 2013-02-10 12:43 UTC | 2013-02-10 12:41 UTCDeveloper: lazy404@gmail.comLine 1 (now 1), was 16 lines, now 4 lines Index: apc_main.c =================================================================== --- apc_main.c (wersja 834) +++ apc_main.c (kopia robocza) @@ -925,7 +925,6 @@ apc_interned_strings_init(TSRMLS_C); #endif #endif - apc_data_preload(TSRMLS_C); APCG(initialized) = 1; return 0; Index: php_apc.c =================================================================== --- php_apc.c (wersja 834) +++ php_apc.c (kopia robocza) fileinfo = apc_php_malloc(sizeof(apc_fileinfo_t) TSRMLS_CC); + + assert(fileinfo != NULL); if (apc_search_paths(filename, include_path, fileinfo TSRMLS_CC) != 0) { apc_warning("apc failed to locate %s - bailing" TSRMLS_CC, filename); Index: apc_cache.h =================================================================== =================================================================== --- apc_cache.h (wersja 834) +++ apc_cache.h (kopia robocza) @@ -310,6 +310,7 @@ time_t creation_time; /* time slot was initialized */ Line 114 (now 102), was 21 lines, now 8 lines + time_t next_stat; /* time of next soft stat*/ }; /* }}} */ Index: apc_sma.c =================================================================== --- apc_sma.c (wersja 834) +++ apc_sma.c (kopia robocza) @@ -70,7 +70,7 @@ /* do not enable for threaded http servers */ -#define __APC_SMA_DEBUG__ 1 +//#define __APC_SMA_DEBUG__ 1 #ifdef __APC_SMA_DEBUG__ /* global counter for identifying blocks Index: apc_globals.h =================================================================== --- apc_globals.h (wersja 834) +++ apc_globals.h (kopia robocza) |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Tue Apr 30 00:01:30 2024 UTC |