Index: mmcache.c =================================================================== RCS file: /cvsroot/turck-mmcache/turck-mmcache/mmcache.c,v retrieving revision 1.204 diff -u -r1.204 mmcache.c --- mmcache.c 26 Mar 2004 17:54:49 -0000 1.204 +++ mmcache.c 21 Apr 2004 09:20:35 -0000 @@ -4315,11 +4315,14 @@ return SUCCESS; } +#ifndef OnUpdateLong +#define OnUpdateLong OnUpdateInt +#endif PHP_INI_BEGIN() STD_PHP_INI_ENTRY("mmcache.enable", "1", PHP_INI_ALL, OnUpdateBool, enabled, zend_mmcache_globals, mmcache_globals) STD_PHP_INI_ENTRY("mmcache.optimizer", "1", PHP_INI_ALL, OnUpdateBool, optimizer_enabled, zend_mmcache_globals, mmcache_globals) STD_PHP_INI_ENTRY("mmcache.compress", "1", PHP_INI_ALL, OnUpdateBool, compression_enabled, zend_mmcache_globals, mmcache_globals) -STD_PHP_INI_ENTRY("mmcache.compress_level", "9", PHP_INI_ALL, OnUpdateLong, compress_level, zend_mmcache_globals, mmcache_globals) +STD_PHP_INI_ENTRY("mmcache.compress_level", "9", PHP_INI_ALL, OnUpdateLong, compress_level, zend_mmcache_globals, mmcache_globals) ZEND_INI_ENTRY1("mmcache.shm_size", "0", PHP_INI_SYSTEM, mmcache_OnUpdateLong, &mmcache_shm_size) ZEND_INI_ENTRY1("mmcache.shm_max", "0", PHP_INI_SYSTEM, mmcache_OnUpdateLong, &mmcache_shm_max) ZEND_INI_ENTRY1("mmcache.shm_ttl", "0", PHP_INI_SYSTEM, mmcache_OnUpdateLong, &mmcache_shm_ttl) @@ -4476,6 +4479,7 @@ } else { fprintf(stderr, "[%d] MMCACHE: PHP crashed\n\n",getpid()); } + fflush(stderr); #if !defined(WIN32) && !defined(NETWARE) kill(getpid(), dummy); #else