[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: w3m.el with backend patch



backend modeで使うと、w3m終了後も一時ファイルが残ってしまうバグがあり
ました。何度も申し訳ありません。

-- 
須藤 清一 <suto@ks-and-ks.ne.jp>
http://pub.ks-and-ks.ne.jp/pgp-public-key.html
Index: ChangeLog
===================================================================
RCS file: /usr/site/cvsroot/w3m/Attic/ChangeLog,v
retrieving revision 1.1.4.169
retrieving revision 1.1.4.170
diff -u -b -r1.1.4.169 -r1.1.4.170
--- ChangeLog	2001/03/21 16:17:25	1.1.4.169
+++ ChangeLog	2001/03/21 18:20:49	1.1.4.170
@@ -2,6 +2,7 @@
 
 	* backend.c (internal_get): Add support for another internal url
  	``w3m-render-it:DELIM'' to render a part of stdin stream.
+	Fix problem that temporary files were not removed at exitting.
 
 Wed Mar 21 19:46:11 2001  Kiyokazu SUTO  <suto@ks-and-ks.ne.jp>
 
Index: backend.c
===================================================================
RCS file: /usr/site/cvsroot/w3m/Attic/backend.c,v
retrieving revision 1.1.2.8
retrieving revision 1.1.2.9
diff -u -b -r1.1.2.8 -r1.1.2.9
--- backend.c	2001/03/21 16:17:25	1.1.2.8
+++ backend.c	2001/03/21 18:20:49	1.1.2.9
@@ -297,7 +297,7 @@
       do_download = FALSE;
     }
     if( buf != NULL && buf != NO_BUFFER ){
-	Currentbuf = buf;
+	pushBuffer(buf);
 	if (flag == get_flag_head)
 	    print_headers( buf, 0, NULL );
 	else if (flag == get_flag_dumpsource) {
Index: main.c
===================================================================
RCS file: /usr/site/cvsroot/w3m/main.c,v
retrieving revision 1.1.1.1.6.53
retrieving revision 1.1.1.1.6.54
diff -u -b -r1.1.1.1.6.53 -r1.1.1.1.6.54
--- main.c	2001/03/21 16:17:25	1.1.1.1.6.53
+++ main.c	2001/03/21 18:20:49	1.1.1.1.6.54
@@ -892,7 +892,7 @@
 void
 tmpClearBuffer(Buffer * buf)
 {
-    if (buf->pagerSource == NULL &&
+    if (buf && buf->pagerSource == NULL &&
 	writeBufferCache(buf) == 0) {
 	buf->firstLine = NULL;
 	buf->topLine = NULL;
Index: version.c
===================================================================
RCS file: /usr/site/cvsroot/w3m/version.c,v
retrieving revision 1.1.1.1.6.34
retrieving revision 1.1.1.1.6.35
diff -u -b -r1.1.1.1.6.34 -r1.1.1.1.6.35
--- version.c	2001/03/21 16:17:25	1.1.1.1.6.34
+++ version.c	2001/03/21 18:20:49	1.1.1.1.6.35
@@ -1,6 +1,6 @@
 #ifdef HAVE_MOE
 #include <mbversion.h>
-#define CURRENT_VERSION "w3m/0.1.11-pre+mee-p18-pre11"
+#define CURRENT_VERSION "w3m/0.1.11-pre+mee-p18-pre12"
 #else
 #define CURRENT_VERSION "w3m/0.1.11-pre"
 #endif