[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:
@@ -1,3 +1,10 @@
|
||||
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
|
||||
@@ -6614,4 +6621,4 @@ a * [w3m-dev 03276] compile error on EWS4800
|
||||
* release-0-2-1
|
||||
* import w3m-0.2.1
|
||||
|
||||
$Id: ChangeLog,v 1.693 2003/01/20 15:22:54 ukai Exp $
|
||||
$Id: ChangeLog,v 1.694 2003/01/20 15:24:19 ukai Exp $
|
||||
|
||||
4
fm.h
4
fm.h
@@ -1,4 +1,4 @@
|
||||
/* $Id: fm.h,v 1.103 2003/01/15 17:13:22 ukai Exp $ */
|
||||
/* $Id: fm.h,v 1.104 2003/01/20 15:24:19 ukai Exp $ */
|
||||
/*
|
||||
* w3m: WWW wo Miru utility
|
||||
*
|
||||
@@ -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);
|
||||
|
||||
|
||||
6
rc.c
6
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);
|
||||
|
||||
Reference in New Issue
Block a user