diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-06-01 17:09:04 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-06-01 17:09:04 +0000 |
commit | 900682ebd541cad4fceb918c0ec37c3b1f98c78b (patch) | |
tree | 494cc6e76a948f9da7ed9dfc1d22e2c3b1b1a11f /rc.c | |
parent | [w3m-dev 03200] Re: New configuration option ``keymap_file'' and new command ... (diff) | |
download | w3m-900682ebd541cad4fceb918c0ec37c3b1f98c78b.tar.gz w3m-900682ebd541cad4fceb918c0ec37c3b1f98c78b.zip |
[w3m-dev-en 00748] PATCH: Reinitialize w3m while running
* funcname.tab (INIT_MAILCAP): deleted
(REINIT): added
* main.c (config_filename): added
(reinit): added
* proto.h (reinit): added
* rc.c (rc_initialized): deleted
* w3mhelperpanel.c (editMailcap): use REINIT MAILCAP
From: Tushar Samant <scribble@pobox.com>
Diffstat (limited to 'rc.c')
-rw-r--r-- | rc.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -1,4 +1,4 @@ -/* $Id: rc.c,v 1.44 2002/06/01 16:50:16 ukai Exp $ */ +/* $Id: rc.c,v 1.45 2002/06/01 17:09:05 ukai Exp $ */ /* * Initialization file etc. */ @@ -33,7 +33,6 @@ struct rc_search_table { static struct rc_search_table *RC_search_table; static int RC_table_size; -static int rc_initialized = 0; static char *config_file = NULL; #define P_INT 0 @@ -1259,10 +1258,6 @@ init_rc(char *config_filename) && ((tmpdir = getenv("TMPDIR")) == NULL || *tmpdir == '\0')) tmpdir = "/tmp"; - if (rc_initialized) - return; - rc_initialized = 1; - if (stat(rc_dir, &st) < 0) { if (errno == ENOENT) { /* no directory */ if (do_mkdir(rc_dir, 0700) < 0) { |