diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-03-05 16:58:09 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-03-05 16:58:09 +0000 |
commit | 666431c56023f6b80782581af26b10704f71ff5b (patch) | |
tree | 25f6a70248ce49eec5cd384f86b7b7348d521e36 /file.c | |
parent | doc-jp/MANUAL.html: add note about file:/cgi-bin (diff) | |
download | w3m-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.c | 17 |
1 files changed, 5 insertions, 12 deletions
@@ -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; |