aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--file.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 26361d5..1e1d552 100644
--- 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
index 4b062d4..5ceded8 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.18 2001/11/29 10:22:58 ukai Exp $ */
+/* $Id: file.c,v 1.19 2001/11/29 10:48:12 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -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);