commit b27865e83b8ee4a05f05c5fbbcdc8b7998a95905
parent 69699f75cfaaebafc0ffb08744bc667b65385528
Author: ukai <ukai>
Date: Thu, 29 Nov 2001 10:48:12 +0000
[w3m-dev 02587]
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,5 +1,8 @@
2001-11-29 Fumitoshi UKAI <ukai@debian.or.jp>
+ * [w3m-dev 02587]
+ * file.c (gunzip_stream): s/__CYGWIN__/USE_BINMODE_STREAM/
+
* [w3m-dev 02586]
* configure: typo s/_zdmachdep.c/zmachdep.c/
diff --git a/file.c b/file.c
@@ -6029,7 +6029,7 @@ gunzip_stream(URLFile *uf)
signal(SIGINT, SIG_DFL);
close(fd1[0]);
if (tmpf) {
-#ifdef __CYGWIN__
+#ifdef USE_BINMODE_STREAM
int tmpfd = open(tmpf, O_RDONLY | O_BINARY);
#else
int tmpfd = open(tmpf, O_RDONLY);