[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>
This commit is contained in:
Fumitoshi UKAI
2003-01-20 15:24:19 +00:00
parent 2f7904260c
commit d619d246a9
3 changed files with 12 additions and 7 deletions

6
rc.c
View File

@@ -1,4 +1,4 @@
/* $Id: rc.c,v 1.78 2003/01/17 17:07:02 ukai Exp $ */
/* $Id: rc.c,v 1.79 2003/01/20 15:24:20 ukai Exp $ */
/*
* Initialization file etc.
*/
@@ -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);