httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/arch/win32 mod_isapi.c
Date Mon, 10 Sep 2001 03:51:28 GMT
wrowe       01/09/09 20:51:28

  Modified:    modules/arch/win32 mod_isapi.c
  Log:
    There is no errno using apr.  A quick grep reveals a dozen or so files
    with serious errno problems, particularly in mod_dav :(
  
  Revision  Changes    Path
  1.50      +4 -4      httpd-2.0/modules/arch/win32/mod_isapi.c
  
  Index: mod_isapi.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/arch/win32/mod_isapi.c,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- mod_isapi.c	2001/08/23 21:17:38	1.49
  +++ mod_isapi.c	2001/09/10 03:51:28	1.50
  @@ -1239,14 +1239,14 @@
       char *fspec;
       
       fspec = ap_server_root_relative(cmd->pool, filename);
  -    if (apr_stat(&tmp, fspec, 
  -                 APR_FINFO_TYPE, cmd->temp_pool) != APR_SUCCESS) { 
  -	ap_log_error(APLOG_MARK, APLOG_WARNING, errno, cmd->server,
  +    if ((rv = apr_stat(&tmp, fspec, 
  +                 APR_FINFO_TYPE, cmd->temp_pool)) != APR_SUCCESS) { 
  +	ap_log_error(APLOG_MARK, APLOG_WARNING, rv, cmd->server,
   	    "ISAPI: unable to stat(%s), skipping", filename);
   	return NULL;
       }
       if (tmp.filetype != APR_REG) {
  -	ap_log_error(APLOG_MARK, APLOG_WARNING, errno, cmd->server,
  +	ap_log_error(APLOG_MARK, APLOG_WARNING|APLOG_NOERRNO, 0, cmd->server,
   	    "ISAPI: %s isn't a regular file, skipping", filename);
   	return NULL;
       }
  
  
  

Mime
View raw message