httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@hyperreal.org
Subject cvs commit: apache-2.0/mpm/src/modules/mpm/spmt_os2 spmt_os2.c
Date Mon, 19 Jul 1999 07:32:35 GMT
bjh         99/07/19 00:32:23

  Modified:    mpm/src/modules/mpm/spmt_os2 spmt_os2.c
  Log:
  Releasing a semaphore you don't own isn't a fatal error.
  Also update with latest hook.
  
  Revision  Changes    Path
  1.5       +2 -2      apache-2.0/mpm/src/modules/mpm/spmt_os2/spmt_os2.c
  
  Index: spmt_os2.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/mpm/src/modules/mpm/spmt_os2/spmt_os2.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- spmt_os2.c	1999/07/16 05:30:35	1.4
  +++ spmt_os2.c	1999/07/19 07:32:20	1.5
  @@ -72,6 +72,7 @@
   #include "iol_socket.h"
   
   #define INCL_DOS
  +#define INCL_DOSERRORS
   #include <os2.h>
   #include <stdlib.h>
   
  @@ -1759,7 +1760,7 @@
   {
       ULONG rc;
       rc = DosReleaseMutexSem(mtx->mutex_handle);
  -    ap_assert(rc == 0);
  +    ap_assert(rc == 0 || rc == ERROR_NOT_OWNER);
   }
   
   API_EXPORT(void) ap_thread_mutex_destroy(ap_thread_mutex *mtx)
  @@ -1806,6 +1807,5 @@
       NULL,			/* check access */
       NULL,			/* type_checker */
       NULL,			/* pre-run fixups */
  -    NULL,			/* logger */
       NULL			/* register hooks */
   };
  
  
  

Mime
View raw message