aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-01-22 15:56:49 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-01-22 15:56:49 +0000
commit9241f55eee8c74450dde9c6799372f881469679f (patch)
tree924e43640da5feaf0bc95242c8fcfaf1f8c60c89 /file.c
parent[w3m-dev 03671] Re: config.param is clear when configure -help (diff)
downloadw3m-9241f55eee8c74450dde9c6799372f881469679f.tar.gz
w3m-9241f55eee8c74450dde9c6799372f881469679f.zip
[w3m-dev 03674] -dump problem
* file.c (loadGeneralFile): return NULL when dump * main.c (dump_source): deleted (dump_head): deleted (dupm_extra): deleted (do_dump): added (main): singal when dump From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/file.c b/file.c
index e7e840c..dafe2e7 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.195 2003/01/20 15:32:03 ukai Exp $ */
+/* $Id: file.c,v 1.196 2003/01/22 15:56:50 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -2062,6 +2062,8 @@ loadGeneralFile(char *path, ParsedURL *volatile current, char *referer,
return NO_BUFFER;
}
}
+ else if (w3m_dump & DUMP_FRAME)
+ return NULL;
if (flag & RG_FRAME) {
if (t_buf == NULL)