wrowe 02/01/24 23:16:01
Modified: shmem/beos shm.c
shmem/os2 shm.c
shmem/unix shm.c
shmem/win32 shm.c
Log:
Simple workaround, for now. Aaron is researching, but if something
obscure is already obvious to OS2/BeOS folks, feel free to round out.
I suspect it's simply the pointer to the phys mem, filling out the
internals of apr_shm_t, but I'm not certain.
Revision Changes Path
1.7 +14 -0 apr/shmem/beos/shm.c
Index: shm.c
===================================================================
RCS file: /home/cvs/apr/shmem/beos/shm.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- shm.c 24 Jan 2002 22:02:07 -0000 1.6
+++ shm.c 25 Jan 2002 07:16:01 -0000 1.7
@@ -168,3 +168,17 @@
}
APR_POOL_IMPLEMENT_ACCESSOR(shm)
+
+APR_DECLARE(apr_status_t) apr_os_shm_get(apr_os_shm_t *osshm,
+ apr_shm_t *shm)
+{
+ return APR_ENOTIMPL;
+}
+
+APR_DECLARE(apr_status_t) apr_os_shm_put(apr_shm_t **m,
+ apr_os_shm_t *osshm,
+ apr_pool_t *pool)
+{
+ return APR_ENOTIMPL;
+}
+
1.4 +14 -0 apr/shmem/os2/shm.c
Index: shm.c
===================================================================
RCS file: /home/cvs/apr/shmem/os2/shm.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- shm.c 12 Jan 2002 13:43:44 -0000 1.3
+++ shm.c 25 Jan 2002 07:16:01 -0000 1.4
@@ -145,3 +145,17 @@
}
APR_POOL_IMPLEMENT_ACCESSOR(shm)
+
+APR_DECLARE(apr_status_t) apr_os_shm_get(apr_os_shm_t *osshm,
+ apr_shm_t *shm)
+{
+ return APR_ENOTIMPL;
+}
+
+APR_DECLARE(apr_status_t) apr_os_shm_put(apr_shm_t **m,
+ apr_os_shm_t *osshm,
+ apr_pool_t *pool)
+{
+ return APR_ENOTIMPL;
+}
+
1.10 +13 -0 apr/shmem/unix/shm.c
Index: shm.c
===================================================================
RCS file: /home/cvs/apr/shmem/unix/shm.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- shm.c 23 Jan 2002 00:03:39 -0000 1.9
+++ shm.c 25 Jan 2002 07:16:01 -0000 1.10
@@ -564,3 +564,16 @@
APR_POOL_IMPLEMENT_ACCESSOR(shm)
+APR_DECLARE(apr_status_t) apr_os_shm_get(apr_os_shm_t *osshm,
+ apr_shm_t *shm)
+{
+ return APR_ENOTIMPL;
+}
+
+APR_DECLARE(apr_status_t) apr_os_shm_put(apr_shm_t **m,
+ apr_os_shm_t *osshm,
+ apr_pool_t *pool)
+{
+ return APR_ENOTIMPL;
+}
+
1.8 +2 -0 apr/shmem/win32/shm.c
Index: shm.c
===================================================================
RCS file: /home/cvs/apr/shmem/win32/shm.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- shm.c 25 Jan 2002 07:12:37 -0000 1.7
+++ shm.c 25 Jan 2002 07:16:01 -0000 1.8
@@ -265,6 +265,8 @@
return m->length;
}
+APR_POOL_IMPLEMENT_ACCESSOR(shm)
+
APR_DECLARE(apr_status_t) apr_os_shm_get(apr_os_shm_t *osshm,
apr_shm_t *shm)
{