As of this commit my shm file rights problem on FreeBSD Apache/2.0.48
prefork is gone. ;-)

I've also tested both anon and file shm on OpenBSD Apache/1.3.29
successfully.

The new shm implementation is looking good to me.

-Kurt

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 15, 2004 3:09 PM
Subject: cvs commit: jakarta-tomcat-connectors/jk/native2/common
jk_shm.c


> mturk       2004/03/15 12:09:30
>
>   Modified:    jk/native2/common jk_shm.c
>   Log:
>   Supress duplicate initialization for shm, that causes duplicate
shm initialization.
>   There is also unneded call to shm->init inside the
workerEnv->parentInit,
>   since it is caled after workerEnv->init, but now it doesn't mater.
>
>   Revision  Changes    Path
>   1.43      +6 -0
jakarta-tomcat-connectors/jk/native2/common/jk_shm.c
>
>   Index: jk_shm.c
>
===================================================================
>   RCS file:
/home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_shm.c,v
>   retrieving revision 1.42
>   retrieving revision 1.43
>   diff -u -r1.42 -r1.43
>   --- jk_shm.c 13 Mar 2004 08:47:31 -0000 1.42
>   +++ jk_shm.c 15 Mar 2004 20:09:30 -0000 1.43
>   @@ -141,6 +141,12 @@
>
>        int rv=JK_OK;
>
>   +    /* In case the shm has been initialized already
>   +     * for the current process.
>   +     */
>   +    if (shm->head && shm->image)
>   +        return rv;
>   +
>        shm->privateData = NULL;
>
>        if (shm->fname == NULL) {
>
>
>
>
> --------------------------------------------------------------------
-
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to