commit cfcba2a67a1a6a4ff47e1800db8a771b5033c11a
parent f67d1157c2517819e3fefea80deabec890ae729c
Author: ukai <ukai>
Date: Wed, 11 Sep 2002 14:54:33 +0000
[w3m-dev 03311] Re: Passwords
* configure (config.h): default PASSWD_FILE
* fm.h (passwd_file): default PASSWD_FILE
From: Yuuichi Teranishi <teranisi@gohome.org>
Diffstat:
3 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,9 @@
+2002-09-11 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * [w3m-dev 03311] Re: Passwords
+ * configure (config.h): default PASSWD_FILE
+ * fm.h (passwd_file): default PASSWD_FILE
+
2002-09-11 Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03307] add password_file support
diff --git a/configure b/configure
@@ -2376,6 +2376,7 @@ $def_use_xface
#define COOKIE_FILE "cookie"
#define HISTORY_FILE "history"
+#define PASSWD_FILE RC_DIR "/passwd"
#define USER_MAILCAP RC_DIR "/mailcap"
#define SYS_MAILCAP "/etc/mailcap"
#define USER_MIMETYPES "~/.mime.types"
diff --git a/fm.h b/fm.h
@@ -838,7 +838,7 @@ global char *ExtBrowser init(DEF_EXT_BROWSER);
global char *ExtBrowser2 init(NULL);
global char *ExtBrowser3 init(NULL);
global int BackgroundExtViewer init(TRUE);
-global char *passwd_file init(NULL);
+global char *passwd_file init(PASSWD_FILE);
global char *ftppasswd init(NULL);
#ifdef FTPPASS_HOSTNAMEGEN
global int ftppass_hostnamegen init(TRUE);