aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-12-12 23:55:30 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-12-12 23:55:30 +0000
commite9fa33af3b6699dadeabac2980670ba26e614e61 (patch)
treea0d699ea89037e9bd3bd06dd045574a456de6f01
parentupdate TODO (diff)
downloadw3m-e9fa33af3b6699dadeabac2980670ba26e614e61.tar.gz
w3m-e9fa33af3b6699dadeabac2980670ba26e614e61.zip
[w3m-dev 03562] #undef BUFINFO
* config.h.dist (BUFINFO): undef * configure (use_bufinfo): n * main.c (saveBufferInfo): ifdef USE_BUFINFO * proto.h (reloadBuffer): if 0 (saveBufferInfo): ifdef USE_BUFINFO From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--ChangeLog11
-rw-r--r--config.h.dist2
-rwxr-xr-xconfigure4
-rw-r--r--main.c4
-rw-r--r--proto.h8
5 files changed, 21 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 198d06f..5b57bd0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2002-12-13 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+
+ * [w3m-dev 03562] #undef BUFINFO
+ * config.h.dist (BUFINFO): undef
+ * configure (use_bufinfo): n
+ * main.c (saveBufferInfo): ifdef USE_BUFINFO
+ * proto.h (reloadBuffer): if 0
+ (saveBufferInfo): ifdef USE_BUFINFO
+
2002-12-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03559] Re: use select instead of signal for loading images
@@ -5737,4 +5746,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.613 2002/12/11 15:07:53 ukai Exp $
+$Id: ChangeLog,v 1.614 2002/12/12 23:55:30 ukai Exp $
diff --git a/config.h.dist b/config.h.dist
index 71d094b..58a60da 100644
--- a/config.h.dist
+++ b/config.h.dist
@@ -37,7 +37,7 @@
/*
* Save Current-buffer Information
*/
-#define BUFINFO
+#undef BUFINFO
/*
* Support EGD (Entropy Gathering Daemon)
diff --git a/configure b/configure
index fd3f788..c18be10 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: configure,v 1.89 2002/11/24 16:02:22 ukai Exp $
+# $Id: configure,v 1.90 2002/12/12 23:55:30 ukai Exp $
# Configuration.
#
@@ -875,7 +875,7 @@ def_param use_history y
def_param use_bg_color y
def_param format_nice n
def_param id_ext y
-def_param use_bufinfo y
+def_param use_bufinfo n
def_param use_egd y
def_param enable_remove_trailingspaces n
def_param menu_thin_frame n
diff --git a/main.c b/main.c
index da48229..1ad080f 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.167 2002/12/11 15:07:53 ukai Exp $ */
+/* $Id: main.c,v 1.168 2002/12/12 23:55:30 ukai Exp $ */
#define MAINPROGRAM
#include "fm.h"
#include <signal.h>
@@ -1265,6 +1265,7 @@ tmpClearBuffer(Buffer *buf)
static Str currentURL(void);
+#ifdef USE_BUFINFO
void
saveBufferInfo()
{
@@ -1278,6 +1279,7 @@ saveBufferInfo()
fprintf(fp, "%s\n", currentURL()->ptr);
fclose(fp);
}
+#endif
static void
pushBuffer(Buffer *buf)
diff --git a/proto.h b/proto.h
index 04f5cb4..37860a5 100644
--- a/proto.h
+++ b/proto.h
@@ -1,4 +1,4 @@
-/* $Id: proto.h,v 1.69 2002/12/11 15:07:53 ukai Exp $ */
+/* $Id: proto.h,v 1.70 2002/12/12 23:55:30 ukai Exp $ */
/*
* This file was automatically generated by version 1.7 of cextract.
* Manual editing not recommended.
@@ -714,13 +714,15 @@ extern void dictwordat(void);
#define dictword nulcmd
#define dictwordat nulcmd
#endif /* not USE_DICT */
-
+#if 0
extern void reloadBuffer(Buffer *buf);
-
+#endif
extern char *guess_save_name(Buffer *buf, char *file);
extern void wrapToggle(void);
+#ifdef USE_BUFINFO
extern void saveBufferInfo(void);
+#endif
extern void dispVer(void);