aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-03-05 16:58:09 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-03-05 16:58:09 +0000
commit666431c56023f6b80782581af26b10704f71ff5b (patch)
tree25f6a70248ce49eec5cd384f86b7b7348d521e36 /file.c
parentdoc-jp/MANUAL.html: add note about file:/cgi-bin (diff)
downloadw3m-666431c56023f6b80782581af26b10704f71ff5b.tar.gz
w3m-666431c56023f6b80782581af26b10704f71ff5b.zip
[w3m-dev 03084] A temporary file remains when pipe + 'v'
* proto.h (saveBufferDelNum): deleted * file.c (saveBufferDelNum): deleted * file.c (saveBuffer): saveBufferDelNum() renamed * main.c (vwSrc): tmpfname() recorded as fileToDelete use saveBuffer() instead of saveBufferDelNum() From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'file.c')
-rw-r--r--file.c17
1 files changed, 5 insertions, 12 deletions
diff --git a/file.c b/file.c
index 1d9f650..015d18e 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.73 2002/02/28 16:21:54 ukai Exp $ */
+/* $Id: file.c,v 1.74 2002/03/05 16:58:09 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -6470,16 +6470,6 @@ loadImageBuffer(URLFile *uf, Buffer *newBuf)
}
#endif
-/*
- * saveBuffer: write buffer to file
- */
-
-void
-saveBuffer(Buffer *buf, FILE * f)
-{
- saveBufferDelNum(buf, f, FALSE);
-}
-
#ifndef KANJI_SYMBOLS
static Str
conv_rule(Line *l)
@@ -6506,8 +6496,11 @@ conv_rule(Line *l)
}
#endif
+/*
+ * saveBuffer: write buffer to file
+ */
void
-saveBufferDelNum(Buffer *buf, FILE * f, int del)
+saveBuffer(Buffer *buf, FILE * f)
{
Line *l = buf->firstLine;
Str tmp;