You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jw...@apache.org on 2002/05/17 20:01:57 UTC
cvs commit: apache-1.3/src/main http_core.c
jwoolley 02/05/17 11:01:57
Modified: src CHANGES
src/main http_core.c
Log:
Binary files on cygwin must be opened in binary mode in the
default handler or they will be corrupted, just as with the
other \r\n platforms.
PR: 9185
Reviewed by: William Rowe
Revision Changes Path
1.1820 +3 -0 apache-1.3/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/apache-1.3/src/CHANGES,v
retrieving revision 1.1819
retrieving revision 1.1820
diff -u -d -u -r1.1819 -r1.1820
--- CHANGES 16 May 2002 16:32:30 -0000 1.1819
+++ CHANGES 17 May 2002 18:01:56 -0000 1.1820
@@ -1,5 +1,8 @@
Changes with Apache 1.3.25
+ *) Fixed sending of binary files under Cygwin. PR 9185.
+ [Cliff Woolley]
+
*) Added Cygwin directory layout to config.layout file.
[Stipe Tolj, <to...@wapme-systems.de>]
1.312 +1 -1 apache-1.3/src/main/http_core.c
Index: http_core.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/main/http_core.c,v
retrieving revision 1.311
retrieving revision 1.312
diff -u -d -u -r1.311 -r1.312
--- http_core.c 21 Mar 2002 14:52:55 -0000 1.311
+++ http_core.c 17 May 2002 18:01:57 -0000 1.312
@@ -3834,7 +3834,7 @@
return METHOD_NOT_ALLOWED;
}
-#if defined(OS2) || defined(WIN32) || defined(NETWARE)
+#if defined(OS2) || defined(WIN32) || defined(NETWARE) || defined(CYGWIN)
/* Need binary mode for OS/2 */
f = ap_pfopen(r->pool, r->filename, "rb");
#else