summaryrefslogtreecommitdiff
path: root/ext/shmop/php_shmop.h
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2002-01-09 08:02:21 (GMT)
committerYasuo Ohgaki <yohgaki@php.net>2002-01-09 08:02:21 (GMT)
commit5e3ab6f51408251e16c13baa22e77c13e7120fdd (patch)
tree716698020494863e9f8766dfcf794b044291f034 /ext/shmop/php_shmop.h
parent6d14a5c60b5f7848bc8274429de6c36ee7642d9c (diff)
downloadphp-5e3ab6f51408251e16c13baa22e77c13e7120fdd.tar.gz
- shmop_open has a new flag for read/write access, 'w'
- eliminated a segfault when trying to write to a SHM_RDONLY segment - eliminated a segfault when an invalid flag which starts with 'a' or 'c' is passed - updated creators' email addresses - changed error messages to say shmop_* instead of shm* to correspond with new shmop_* function names Patch by Ilia Alshanetsky (ilia@prohost.org) # Please test :)
Diffstat (limited to 'ext/shmop/php_shmop.h')
-rw-r--r--ext/shmop/php_shmop.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/shmop/php_shmop.h b/ext/shmop/php_shmop.h
index 78eb7e0..791289d 100644
--- a/ext/shmop/php_shmop.h
+++ b/ext/shmop/php_shmop.h
@@ -52,6 +52,7 @@ struct php_shmop
int shmid;
key_t key;
int shmflg;
+ int shmatflg;
char *addr;
int size;
};