stoddard 99/08/16 15:25:39
Modified: mpm/src/main http_core.c
Log:
Win32: Open files as binary. Waiting for APR...
Revision Changes Path
1.22 +1 -1 apache-2.0/mpm/src/main/http_core.c
Index: http_core.c
===================================================================
RCS file: /home/cvs/apache-2.0/mpm/src/main/http_core.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- http_core.c 1999/08/15 00:15:43 1.21
+++ http_core.c 1999/08/16 22:25:38 1.22
@@ -2519,7 +2519,7 @@
#if defined(OS2) || defined(WIN32)
/* Need binary mode for OS/2 */
- fd = ap_popenf(r->pool, r->filename, O_RDONLY, 0);
+ fd = ap_popenf(r->pool, r->filename, O_RDONLY | O_BINARY, 0);
#else
fd = ap_popenf(r->pool, r->filename, O_RDONLY, 0);
#endif