Changeset 140
- Timestamp:
- 11/29/05 18:19:18 (3 years ago)
- Files:
-
- eaccelerator/trunk/ChangeLog (modified) (1 diff)
- eaccelerator/trunk/eLoader/Makefile.in (modified) (1 diff)
- eaccelerator/trunk/eLoader/autogen.sh (modified) (1 diff)
- eaccelerator/trunk/eaccelerator.c (modified) (2 diffs)
- eaccelerator/trunk/eaccelerator.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
eaccelerator/trunk/ChangeLog
r139 r140 1 2005-11-22 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 2 3 * Disabled the cache dir check, to much people complaining 4 * fixed eLoader 5 1 6 2005-11-22 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 2 7 eaccelerator/trunk/eLoader/Makefile.in
r34 r140 1 1 LTLIBRARY_NAME = libeloader.la 2 LTLIBRARY_SOURCES = loader.c opcodes.c 2 LTLIBRARY_SOURCES = loader.c opcodes.c ea_restore.c debug.c 3 3 LTLIBRARY_SHARED_NAME = eloader.la 4 4 eaccelerator/trunk/eLoader/autogen.sh
r34 r140 1 1 #! /bin/sh 2 2 3 ln -sf ../loader.c loader.c 4 ln -sf ../opcodes.c opcodes.c 5 ln -sf ../opcodes.h opcodes.h 6 ln -sf ../eaccelerator.h eaccelerator.h 7 ln -sf ../eaccelerator_version.h eaccelerator_version.h 3 ln -sf ../loader.c . 4 ln -sf ../opcodes.c . 5 ln -sf ../opcodes.h . 6 ln -sf ../eaccelerator.h . 7 ln -sf ../eaccelerator_version.h . 8 ln -sf ../ea_restore.c . 9 ln -sf ../ea_restore.h . 10 ln -sf ../debug.h . 11 ln -sf ../debug.c . 8 12 9 13 if test x$PHP_PREFIX = x; then eaccelerator/trunk/eaccelerator.c
r139 r140 2023 2023 eaccelerator_mm_instance->enabled = 0; 2024 2024 } 2025 2025 #if 0 2026 2026 if (!eaccelerator_scripts_shm_only && check_cache_dir(EAG(cache_dir)) == FAILURE) { 2027 2027 zend_error(E_CORE_WARNING,"[%s] Can not init the cache directory", EACCELERATOR_EXTENSION_NAME); … … 2029 2029 eaccelerator_mm_instance->enabled = 0; 2030 2030 } 2031 2031 #endif 2032 2032 mm_saved_zend_compile_file = zend_compile_file; 2033 2033 eaccelerator/trunk/eaccelerator.h
r124 r140 167 167 #define MAX_DUP_STR_LEN 256 168 168 169 /******************************************************************************/ 170 171 #endif /* HAVE_EACCELERATOR_STANDALONE_LOADER */ 172 169 173 #ifndef offsetof 170 174 # define offsetof(str,fld) ((size_t)&(((str*)NULL)->fld)) 171 175 #endif 172 173 /******************************************************************************/174 176 175 177 typedef struct _eaccelerator_op_array { … … 255 257 char htabkey[1]; /* must be last element */ 256 258 } mm_fc_entry; 259 260 #ifndef HAVE_EACCELERATOR_STANDALONE_LOADER 257 261 258 262 /* … … 382 386 int eaccelerator_md5 (char *s, const char *prefix, const char *key TSRMLS_DC); 383 387 384 void restore_zval (zval * TSRMLS_DC);385 388 void calc_zval (zval * z TSRMLS_DC); 386 389 void store_zval (zval * z TSRMLS_DC); 387 390 void fixup_zval (zval * z TSRMLS_DC); 391 void restore_zval (zval * TSRMLS_DC); 388 392 389 393 unsigned int hash_mm(const char *data, int len); 390 391 # ifdef WITH_EACCELERATOR_EXECUTOR392 ZEND_DLEXPORT void eaccelerator_execute (zend_op_array * op_array TSRMLS_DC);393 # endif394 394 395 395 # ifdef WITH_EACCELERATOR_OPTIMIZER … … 400 400 PHP_FUNCTION (eaccelerator_encode); 401 401 #endif 402 #endif /* HAVE_EACCELERATOR_ LOADER_STANDALONE*/402 #endif /* HAVE_EACCELERATOR_STANDALONE_LOADER */ 403 403 404 404 #ifdef ZTS … … 407 407 # define EAG(v) (eaccelerator_globals.v) 408 408 #endif 409 410 #define MMCG(v) EAG(v)411 409 412 410 /*