httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@hyperreal.org
Subject cvs commit: apache-1.3/src/main util.c
Date Sat, 24 Oct 1998 15:10:49 GMT
coar        98/10/24 08:10:49

  Modified:    src/main util.c
  Log:
  	Add the *Config "nul" processing for OS/2 as requested by Brian Havard.
  
  Revision  Changes    Path
  1.137     +2 -2      apache-1.3/src/main/util.c
  
  Index: util.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/main/util.c,v
  retrieving revision 1.136
  retrieving revision 1.137
  diff -u -r1.136 -r1.137
  --- util.c	1998/10/23 19:06:27	1.136
  +++ util.c	1998/10/24 15:10:48	1.137
  @@ -759,13 +759,13 @@
   
       if (fstat(fileno(file), &stbuf) == 0 &&
           !S_ISREG(stbuf.st_mode) &&
  -#ifdef WIN32
  +#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) {
  -#endif
  +#endif /* WIN32 || OS2 */
   	saved_errno = errno;
           ap_log_error(APLOG_MARK, APLOG_ERR | APLOG_NOERRNO, NULL,
                       "Access to file %s denied by server: not a regular file",
  
  
  

Mime
View raw message