mturk       2005/02/06 03:30:02

  Modified:    jk/native/common jk_shm.c
  Log:
  In case filename was not defined use "memory" as filename.
  
  Revision  Changes    Path
  1.6       +3 -2      jakarta-tomcat-connectors/jk/native/common/jk_shm.c
  
  Index: jk_shm.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_shm.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- jk_shm.c  6 Feb 2005 11:25:38 -0000       1.5
  +++ jk_shm.c  6 Feb 2005 11:30:02 -0000       1.6
  @@ -52,7 +52,7 @@
       shm->base = calloc(1, shm->size);
       if (!shm->base)
           return -1;
  -    shm->filename = fname;
  +    shm->filename = "memory";
       shm->fd = -1;
       shm->attached = 0;
   
  @@ -131,6 +131,7 @@
           memcpy(hdr->magic, shm_signature, 8);
           hdr->workers = workers;
           hdr->dynamic = dynamic;
  +        shm->filename = "memory";
           return 0;
       }
       if (!attached)
  
  
  

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

Reply via email to