diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | file.c | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -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/ @@ -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); |