w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 85811f0d369d8cb4a436bfbae70e5859b676f5d3
parent 28d48637081f87b86a2761775a2449095d8079dc
Author: ukai <ukai>
Date:   Thu, 12 Dec 2002 23:55:30 +0000

[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:
MChangeLog | 9+++++++++
Mconfig.h.dist | 2+-
Mconfigure | 2+-
Mmain.c | 2++
Mproto.h | 6++++--
5 files changed, 17 insertions(+), 4 deletions(-)

diff --git 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 diff --git 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 @@ -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 @@ -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 @@ -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);