From bebc098d6dc64fd5259cb1ae915ce27112d9a811 Mon Sep 17 00:00:00 2001 From: tomo Date: Fri, 24 Jun 2005 17:51:08 +0000 Subject: [PATCH] (char_table_get_db): Use `read_from_c_string'. --- src/chartab.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/chartab.c b/src/chartab.c index 1504706..4b5b82c 100644 --- a/src/chartab.c +++ b/src/chartab.c @@ -3648,6 +3648,10 @@ open_chise_data_source_maybe () 0 /* DB_HASH */, modemask); if (default_chise_data_source == NULL) return -1; +#if 0 + chise_ds_set_make_string_function (default_chise_data_source, + &make_string); +#endif } return 0; } @@ -3723,8 +3727,13 @@ char_table_get_db (Lisp_Char_Table* cit, Emchar ch) if (!status) { +#if 0 val = Fread (make_string (chise_value_data (&value), chise_value_size (&value) )); +#else + val = read_from_c_string (chise_value_data (&value), + chise_value_size (&value) ); +#endif } else val = Qunbound; -- 1.7.10.4