From d619d246a9ccf580e3d5d5b3322c605762096ba4 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Mon, 20 Jan 2003 15:24:19 +0000 Subject: [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 --- rc.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'rc.c') diff --git a/rc.c b/rc.c index 8055c26..24faa7e 100644 --- a/rc.c +++ b/rc.c @@ -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); -- cgit v1.2.3