w3m

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

commit cefea0ca438530f3a50add2d0774d8ddb2cc01bd
parent a7ef81dc37f861b9813314b672670bf25062efe8
Author: ukai <ukai>
Date:   Mon, 20 Jan 2003 15:24:19 +0000

[w3m-dev 03658] Re: Other user can see local cookie.
* fm.h (rc_dir): init(NULL)
* rc.c (config_file): deleted
	(init_rc): use rc_dir
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>

Diffstat:
MChangeLog | 7+++++++
Mfm.h | 2+-
Mrc.c | 4+---
3 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,5 +1,12 @@ 2003-01-21 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + * [w3m-dev 03658] Re: Other user can see local cookie. + * fm.h (rc_dir): init(NULL) + * rc.c (config_file): deleted + (init_rc): use rc_dir + +2003-01-21 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + * [w3m-dev 03657] fputs -> Strfputs * form.c (form_fputs_decode): use Strfputs() diff --git a/fm.h b/fm.h @@ -1019,7 +1019,7 @@ extern char alt_rule[]; #endif /* not KANJI_SYMBOLS */ extern char UseAltEntity; global int no_rc_dir init(FALSE); -global char *rc_dir; +global char *rc_dir init(NULL); global char *tmp_dir; global char *config_file init(NULL); diff --git a/rc.c b/rc.c @@ -33,8 +33,6 @@ struct rc_search_table { static struct rc_search_table *RC_search_table; static int RC_table_size; -static char *config_file = NULL; - #define P_INT 0 #define P_SHORT 1 #define P_CHARINT 2 @@ -1372,7 +1370,7 @@ init_rc(void) struct stat st; FILE *f; - if (config_file != NULL) + if (rc_dir != NULL) goto open_rc; rc_dir = expandPath(RC_DIR);