aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-07-07 15:39:43 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-07-07 15:39:43 +0000
commit3c45cb485a6aac9c0123fb4d67e1cdfc93fb90ec (patch)
treece7e78414a0b0355e63c55c702f178ea2bb809f9
parent[w3m-dev 03916] Re: charset attribute of anchor tag (diff)
downloadw3m-3c45cb485a6aac9c0123fb4d67e1cdfc93fb90ec.tar.gz
w3m-3c45cb485a6aac9c0123fb4d67e1cdfc93fb90ec.zip
[w3m-dev 03927] deflate
* file.c (compression_decoder): .deflate for application/x-deflate's extension From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-rw-r--r--ChangeLog8
-rw-r--r--file.c4
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 057718c..83d409d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-07-08 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+
+ * [w3m-dev 03927] deflate
+ * file.c (compression_decoder): .deflate for application/x-deflate's
+ extension
+
2003-06-19 Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03916] Re: charset attribute of anchor tag
@@ -7863,4 +7869,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.843 2003/06/18 16:18:42 ukai Exp $
+$Id: ChangeLog,v 1.844 2003/07/07 15:39:43 ukai Exp $
diff --git a/file.c b/file.c
index ecf311c..6b48a5d 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.224 2003/05/13 17:38:47 ukai Exp $ */
+/* $Id: file.c,v 1.225 2003/07/07 15:39:43 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -173,7 +173,7 @@ static struct compression_decoder {
{ CMP_BZIP2, ".bz2", "application/x-bzip",
0, BUNZIP2_CMDNAME, BUNZIP2_NAME, "bzip, bzip2",
{"x-bzip", "bzip", "bzip2", NULL} },
- { CMP_DEFLATE, NULL, "application/x-deflate",
+ { CMP_DEFLATE, ".deflate", "application/x-deflate",
1, INFLATE_CMDNAME, INFLATE_NAME, "deflate",
{"deflate", "x-deflate", NULL} },
{ CMP_NOCOMPRESS, NULL, NULL, 0, NULL, NULL, NULL, {NULL}},