aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-12-04 17:15:35 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-12-04 17:15:35 +0000
commit284d762709f3e10342318a3ec832c80fcf5db04c (patch)
treeb37feec2b1cd827379b06c4c455a00bbca0e2b2a
parent[w3m-dev 03524] fix doc*/README.func, w3mhelp.cgi.in (diff)
downloadw3m-284d762709f3e10342318a3ec832c80fcf5db04c.tar.gz
w3m-284d762709f3e10342318a3ec832c80fcf5db04c.zip
[w3m-dev 03525] Re: sync option
* func.c (initKeymap): delete check force, keymap_initialized From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-rw-r--r--ChangeLog7
-rw-r--r--func.c5
2 files changed, 7 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f981c0..fa4ffa2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2002-12-05 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+ * [w3m-dev 03525] Re: sync option
+ * func.c (initKeymap): delete check force, keymap_initialized
+
+2002-12-05 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+
* [w3m-dev 03524] fix doc*/README.func, w3mhelp.cgi.in
* doc/README.func (REINIT): added
* doc-jp/README.func (REINIT): added
@@ -5449,4 +5454,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.588 2002/12/04 17:08:26 ukai Exp $
+$Id: ChangeLog,v 1.589 2002/12/04 17:15:35 ukai Exp $
diff --git a/func.c b/func.c
index e643d0f..ebd2923 100644
--- a/func.c
+++ b/func.c
@@ -1,4 +1,4 @@
-/* $Id: func.c,v 1.21 2002/12/04 16:45:41 ukai Exp $ */
+/* $Id: func.c,v 1.22 2002/12/04 17:15:35 ukai Exp $ */
/*
* w3m func.c
*/
@@ -120,9 +120,6 @@ initKeymap(int force)
struct stat kstat;
extern int str_to_bool(char *value, int old);
- if (!force && keymap_initialized)
- return;
-
if ((kf = fopen(rcFile(keymap_file), "rt")) == NULL ||
((fd = fileno(kf)) < 0 || fstat(fd, &kstat) ||
(!force && keymap_initialized &&