httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@hyperreal.org
Subject cvs commit: apache-2.0/src/main util.c
Date Fri, 24 Sep 1999 21:21:24 GMT
stoddard    99/09/24 14:21:23

  Modified:    src/main util.c
  Log:
  Fix some broken logic. This logic now replicates what is in Apache 1.3.
  
  Revision  Changes    Path
  1.9       +2 -2      apache-2.0/src/main/util.c
  
  Index: util.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/util.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- util.c	1999/09/20 22:18:51	1.8
  +++ util.c	1999/09/24 21:21:20	1.9
  @@ -897,13 +897,13 @@
           return NULL;
   
       if (ap_get_filetype(file, &type) == APR_SUCCESS &&
  -        type == APR_REG &&
  +        type != APR_REG &&
   #if defined(WIN32) || defined(OS2)
           !(strcasecmp(name, "nul") == 0 ||
             (strlen(name) >= 4 &&
              strcasecmp(name + strlen(name) - 4, "/nul") == 0))) {
   #else
  -        strcmp(name, "/dev/null") == 0) {
  +        strcmp(name, "/dev/null") != 0) {
   #endif /* WIN32 || OS2 */
   	saved_errno = errno;
           ap_log_error(APLOG_MARK, APLOG_ERR | APLOG_NOERRNO, NULL,
  
  
  

Mime
View raw message