aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-11-29 10:48:12 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-11-29 10:48:12 +0000
commit03c75fd026bd99e61b2c1ae512950481e809f183 (patch)
tree2059600315a41981a876d6d61f36bae4459a3c07
parent[w3m-dev 02586] code cleanup again (diff)
downloadw3m-03c75fd026bd99e61b2c1ae512950481e809f183.tar.gz
w3m-03c75fd026bd99e61b2c1ae512950481e809f183.zip
[w3m-dev 02587]
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to '')
-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);