Changeset 21 for trunk/xcache.c
- Timestamp:
- 2006-05-25T04:39:16+02:00 (7 years ago)
- File:
-
- 1 edited
-
trunk/xcache.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xcache.c
r20 r21 1712 1712 #endif 1713 1713 1714 #ifdef ZEND_WIN32 1715 # define DEFAULT_PATH "xcache" 1716 #else 1717 # define DEFAULT_PATH "/dev/zero" 1718 #endif 1714 1719 PHP_INI_BEGIN() 1715 1720 PHP_INI_ENTRY1 ("xcache.size", "0", PHP_INI_SYSTEM, xc_OnUpdateLong, &xc_php_size) … … 1721 1726 PHP_INI_ENTRY1 ("xcache.var_slots", "8K", PHP_INI_SYSTEM, xc_OnUpdateHashInfo, &xc_var_hentry) 1722 1727 1723 PHP_INI_ENTRY1 ("xcache.mmap_path", "/dev/zero", PHP_INI_SYSTEM, xc_OnUpdateString, &xc_mmap_path)1728 PHP_INI_ENTRY1 ("xcache.mmap_path", DEFAULT_PATH, PHP_INI_SYSTEM, xc_OnUpdateString, &xc_mmap_path) 1724 1729 PHP_INI_ENTRY1 ("xcache.coredump_directory", "", PHP_INI_SYSTEM, xc_OnUpdateString, &xc_coredump_dir) 1725 1730 PHP_INI_ENTRY1 ("xcache.test", "0", PHP_INI_SYSTEM, xc_OnUpdateBool, &xc_test) … … 1821 1826 if ((xc_php_size || xc_var_size) && xc_mmap_path && xc_mmap_path[0]) { 1822 1827 if (!xc_init(module_number TSRMLS_CC)) { 1823 zend_error(E_ERROR, "XCache: Cannot init xcache");1828 zend_error(E_ERROR, "XCache: Cannot init"); 1824 1829 goto err_init; 1825 1830 } … … 1892 1897 zend_module_entry xcache_module_entry = { 1893 1898 STANDARD_MODULE_HEADER, 1894 " xcache",1899 "XCache", 1895 1900 xcache_functions, 1896 1901 PHP_MINIT(xcache),
Note: See TracChangeset
for help on using the changeset viewer.

