Changeset 73 for eaccelerator/trunk/mm.c
- Timestamp:
- 05/05/05 10:53:05 (4 years ago)
- Files:
-
- eaccelerator/trunk/mm.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
eaccelerator/trunk/mm.c
r63 r73 1 1 /* libmm replacement */ 2 2 3 #ifdef HAVE_CONFIG_H 3 #if !defined(MM_TEST_SHM) && !defined(MM_TEST_SEM) 4 # ifdef HAVE_CONFIG_H 4 5 # include "config.h" 6 # endif 7 # include "php.h" 5 8 #endif 6 9 … … 580 583 581 584 #define MM_SHM_TYPE "sysvipc" 585 586 #ifndef SHM_R 587 # define SHM_R 0444 /* read permission */ 588 #endif 589 #ifndef SHM_W 590 # define SHM_W 0222 /* write permission */ 591 #endif 582 592 583 593 static MM* mm_create_shm(const char* key, size_t size) {