httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, Ian \(iant\)" <i...@sequent.com>
Subject Minor fix to v1.3.12-dev
Date Tue, 15 Feb 2000 00:16:08 GMT

   A minor change was made to v1.3.11 to resolve a problem with Apache on
OS/2, which should have been #IFDEF'ed just for
OS/2 (and any other platform which needs the "t" mode to fopen() ), since not
all implementations of Unix ignore the "t" mode.
(I.E. the change breaks Apache on some platforms)

Here is a simple diff to src/main/util.c that should be added to v1.3.12
before it is released.
(this has also been filed as bug general/5760 so it does not get lost)

*** util.c.orig Mon Feb 14 13:25:17 2000
--- util.c      Mon Feb 14 13:28:26 2000
***************
*** 809,815 ****
--- 809,820 ----
          return NULL;
      }
  
+ #ifdef OS2
      file = ap_pfopen(p, name, "rt");
+ #else
+     file = ap_pfopen(p, name, "r");
+ #endif
+ 


Mime
View raw message