You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@locus.apache.org on 2000/07/11 01:29:37 UTC

cvs commit: apache-2.0/src/lib/apr/locks/win32 locks.c

rbb         00/07/10 16:29:36

  Modified:    src/lib/apr/locks/win32 locks.c
  Log:
  This should fix a broken function on Windows.  Could somebody with a
  windows machine please check me.
  
  Revision  Changes    Path
  1.28      +1 -2      apache-2.0/src/lib/apr/locks/win32/locks.c
  
  Index: locks.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/locks/win32/locks.c,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- locks.c	2000/07/08 11:31:47	1.27
  +++ locks.c	2000/07/10 23:29:36	1.28
  @@ -167,8 +167,7 @@
   
   ap_status_t ap_get_os_lock(ap_os_lock_t *thelock, ap_lock_t *lock)
   {
  -    /* ### this is broken. is the signature broken? */
  -    thelock = &(lock->mutex);
  +    *thelock = lock->mutex;
       return APR_SUCCESS;
   }