httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/locks/win32 locks.c
Date Wed, 19 Apr 2000 18:47:24 GMT
stoddard    00/04/19 11:47:23

  Modified:    src/lib/apr/locks/win32 locks.c
  Log:
  Win32: Return the real error on lock failure
  
  Revision  Changes    Path
  1.21      +1 -4      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.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- locks.c	2000/04/15 00:52:54	1.20
  +++ locks.c	2000/04/19 18:47:22	1.21
  @@ -124,11 +124,8 @@
           if (rv == WAIT_OBJECT_0 || rv == WAIT_ABANDONED) {
               return APR_SUCCESS;
           }
  -        if (rv == WAIT_TIMEOUT) {
  -            return APR_TIMEUP;
  -        }
       }
  -    return APR_EEXIST;
  +    return GetLastError();
   }
   
   ap_status_t ap_unlock(ap_lock_t *lock)
  
  
  

Mime
View raw message