From b3946995808de3daa21f30885572a269c1e5c6e6 Mon Sep 17 00:00:00 2001 From: tomo Date: Wed, 21 Jul 2004 04:54:39 +0000 Subject: [PATCH] (open_chise_data_source_maybe): Use Vdata_directory instead of Vexec_directory. (char_attribute_system_db_file): Likewise. --- src/chartab.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/chartab.c b/src/chartab.c index d22b611..8d264a9 100644 --- a/src/chartab.c +++ b/src/chartab.c @@ -3635,11 +3635,11 @@ open_chise_data_source_maybe () { if (default_chise_data_source == NULL) { - Lisp_Object db_dir = Vexec_directory; + Lisp_Object db_dir = Vdata_directory; int modemask = 0755; /* rwxr-xr-x */ if (NILP (db_dir)) - db_dir = build_string ("../lib-src"); + db_dir = build_string ("../etc"); db_dir = Fexpand_file_name (build_string ("chise-db"), db_dir); default_chise_data_source @@ -3743,10 +3743,10 @@ Lisp_Object char_attribute_system_db_file (Lisp_Object key_type, Lisp_Object attribute, int writing_mode) { - Lisp_Object db_dir = Vexec_directory; + Lisp_Object db_dir = Vdata_directory; if (NILP (db_dir)) - db_dir = build_string ("../lib-src"); + db_dir = build_string ("../etc"); db_dir = Fexpand_file_name (build_string ("chise-db"), db_dir); if (writing_mode && NILP (Ffile_exists_p (db_dir))) -- 1.7.10.4