You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gs...@locus.apache.org on 2000/07/03 12:50:14 UTC

cvs commit: apache-2.0/src/lib/sdbm sdbm_lock.c

gstein      00/07/03 03:50:12

  Modified:    src/lib/sdbm sdbm_lock.c
  Log:
  disable the locks for now
  
  Revision  Changes    Path
  1.3       +6 -2      apache-2.0/src/lib/sdbm/sdbm_lock.c
  
  Index: sdbm_lock.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/sdbm/sdbm_lock.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- sdbm_lock.c	2000/07/01 13:58:52	1.2
  +++ sdbm_lock.c	2000/07/03 10:50:04	1.3
  @@ -27,7 +27,9 @@
           }
       }
   
  -    return ap_lock(sdbm_lock_object);
  +    /* ### incorrect locking semantics. need some APR work first */
  +/*    return ap_lock(sdbm_lock_object); */
  +    return APR_SUCCESS;
   }
   
   ap_status_t sdbm_fd_unlock(int fd)
  @@ -40,5 +42,7 @@
           }
       }
   
  -    return ap_unlock(sdbm_lock_object);
  +    /* ### incorrect locking semantics. need some APR work first */
  +/*    return ap_unlock(sdbm_lock_object); */
  +    return APR_SUCCESS;
   }