From 294c532575fe1804cf79cf57d24ace1a5d9abe20 Mon Sep 17 00:00:00 2001 From: aaron Date: Wed, 30 Jan 2002 15:33:14 +0000 Subject: Fixed up some comments -- got rid of FIXMEs that have been fixed. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62875 13f79535-47bb-0310-9956-ffa450edef68 --- shmem/unix/shm.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/shmem/unix/shm.c b/shmem/unix/shm.c index c493bdc7c..7a2dd9cf3 100644 --- a/shmem/unix/shm.c +++ b/shmem/unix/shm.c @@ -152,9 +152,6 @@ APR_DECLARE(apr_status_t) apr_shm_create(apr_shm_t **m, apr_file_t *file; /* file where metadata is stored */ #endif - /* FIXME: associate this thing with a pool and set up a destructor - * to call detach. */ - /* Check if they want anonymous or name-based shared memory */ if (filename == NULL) { #if APR_USE_SHMEM_MMAP_ZERO || APR_USE_SHMEM_MMAP_ANON @@ -474,8 +471,6 @@ APR_DECLARE(apr_status_t) apr_shm_attach(apr_shm_t **m, new_m->pool = pool; new_m->filename = apr_pstrdup(pool, filename); - /* FIXME: open the file, read the length, mmap the segment, - * close the file, reconstruct the apr_shm_t. */ status = apr_file_open(&file, filename, APR_READ | APR_WRITE, APR_OS_DEFAULT, pool); @@ -512,7 +507,7 @@ APR_DECLARE(apr_status_t) apr_shm_attach(apr_shm_t **m, return status; } - /* metadata isn't usable */ + /* metadata isn't part of the usable segment */ new_m->usable = new_m->base + sizeof(apr_size_t); apr_pool_cleanup_register(new_m->pool, new_m, shm_cleanup_attach, -- cgit v1.2.1