aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDai Sato <satodai@w3m.jp>2006-06-12 11:51:59 +0000
committerDai Sato <satodai@w3m.jp>2006-06-12 11:51:59 +0000
commit755718c88339a49a6b0721bf4908781b76369ca1 (patch)
tree87cdfd459ed107eb313c20fab49917cea2e410f8
parentavoid decoding when dump_extra option is specified. (diff)
downloadw3m-755718c88339a49a6b0721bf4908781b76369ca1.tar.gz
w3m-755718c88339a49a6b0721bf4908781b76369ca1.zip
avoid decoding when dump_extra option is specified.
Diffstat (limited to '')
-rw-r--r--ChangeLog7
-rw-r--r--file.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a9c7ac7..b9b626e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-12 Dai Sato <satodai@w3m.jp>
+
+ * another fix for [w3m-dev-en 01067] Some more patches
+ * file.c (loadBuffer): avoid decoding when dump_extra option is specified.
+
2006-06-10 Dai Sato <satodai@w3m.jp>
* fix for [w3m-dev-en 01067] Some more patches
@@ -8743,4 +8748,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.967 2006/06/10 11:09:06 inu Exp $
+$Id: ChangeLog,v 1.968 2006/06/12 11:51:59 inu Exp $
diff --git a/file.c b/file.c
index b3552dc..d6d415d 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.245 2006/06/10 11:09:06 inu Exp $ */
+/* $Id: file.c,v 1.246 2006/06/12 11:51:59 inu Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -7015,6 +7015,8 @@ loadBuffer(URLFile *uf, Buffer *volatile newBuf)
if (src)
Strfputs(lineBuf2, src);
linelen += lineBuf2->length;
+ if (w3m_dump & DUMP_EXTRA)
+ printf("W3m-in-progress: %s\n", convert_size2(linelen, current_content_length, TRUE));
if (w3m_dump & DUMP_SOURCE)
continue;
showProgress(&linelen, &trbyte);