httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ron...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/shmem/unix shmem.c
Date Mon, 29 May 2000 09:02:53 GMT
ronald      00/05/29 02:02:52

  Modified:    src/lib/apr/shmem/os2 shmem.c
               src/lib/apr/shmem/unix shmem.c
  Log:
  The name is supposed to be set to NULL when anonymous shared mem is used.
  
  Revision  Changes    Path
  1.5       +1 -0      apache-2.0/src/lib/apr/shmem/os2/shmem.c
  
  Index: shmem.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/shmem/os2/shmem.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- shmem.c	2000/04/14 15:58:42	1.4
  +++ shmem.c	2000/05/29 09:02:50	1.5
  @@ -124,6 +124,7 @@
   
   ap_status_t ap_get_shm_name(ap_shmem_t *c, ap_shm_name_t **name)
   {
  +    *name = NULL;
       return APR_ANONYMOUS;
   }
   
  
  
  
  1.13      +1 -1      apache-2.0/src/lib/apr/shmem/unix/shmem.c
  
  Index: shmem.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/shmem/unix/shmem.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- shmem.c	2000/04/19 22:32:07	1.12
  +++ shmem.c	2000/05/29 09:02:52	1.13
  @@ -103,7 +103,7 @@
   ap_status_t ap_get_shm_name(ap_shmem_t *c, ap_shm_name_t **name)
   {
   #if APR_USES_ANONYMOUS_SHM
  -    name = NULL;
  +    *name = NULL;
       return APR_ANONYMOUS;
   /* Currently, we are not supporting name based shared memory on Unix
    * systems.  This may change in the future however, so I will leave
  
  
  

Mime
View raw message