httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@hyperreal.org
Subject cvs commit: apache-1.3/src/main http_main.c
Date Tue, 09 Feb 1999 13:18:20 GMT
stoddard    99/02/09 05:18:20

  Modified:    src/main http_main.c
  Log:
  OS/2 fix to supress bogus errno based messages and supply OS/2 error
  code.
  Submitted by: Brian Havard
  
  Revision  Changes    Path
  1.422     +6 -6      apache-1.3/src/main/http_main.c
  
  Index: http_main.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/main/http_main.c,v
  retrieving revision 1.421
  retrieving revision 1.422
  diff -u -r1.421 -r1.422
  --- http_main.c	1999/02/05 09:12:44	1.421
  +++ http_main.c	1999/02/09 13:18:19	1.422
  @@ -898,8 +898,8 @@
       int rc = DosOpenMutexSem(NULL, &lock_sem);
   
       if (rc != 0) {
  -	ap_log_error(APLOG_MARK, APLOG_EMERG, server_conf,
  -		    "Child cannot open lock semaphore");
  +	ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_EMERG, server_conf,
  +		    "Child cannot open lock semaphore, rc=%d", rc);
   	clean_child_exit(APEXIT_CHILDINIT);
       }
   }
  @@ -913,8 +913,8 @@
       int rc = DosCreateMutexSem(NULL, &lock_sem, DC_SEM_SHARED, FALSE);
   
       if (rc != 0) {
  -	ap_log_error(APLOG_MARK, APLOG_EMERG, server_conf,
  -		    "Parent cannot create lock semaphore");
  +	ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_EMERG, server_conf,
  +		    "Parent cannot create lock semaphore, rc=%d", rc);
   	exit(APEXIT_INIT);
       }
   
  @@ -926,7 +926,7 @@
       int rc = DosRequestMutexSem(lock_sem, SEM_INDEFINITE_WAIT);
   
       if (rc != 0) {
  -	ap_log_error(APLOG_MARK, APLOG_EMERG, server_conf,
  +	ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_EMERG, server_conf,
   		    "OS2SEM: Error %d getting accept lock. Exiting!", rc);
   	clean_child_exit(APEXIT_CHILDFATAL);
       }
  @@ -937,7 +937,7 @@
       int rc = DosReleaseMutexSem(lock_sem);
       
       if (rc != 0) {
  -	ap_log_error(APLOG_MARK, APLOG_EMERG, server_conf,
  +	ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_EMERG, server_conf,
   		    "OS2SEM: Error %d freeing accept lock. Exiting!", rc);
   	clean_child_exit(APEXIT_CHILDFATAL);
       }
  
  
  

Mime
View raw message