diff src/charset.c @ 102636:b9092d75665a

(load_charset_map_from_file): When a mapfile can't be loaded, signal an error.
author Kenichi Handa <handa@m17n.org>
date Thu, 19 Mar 2009 00:46:26 +0000
parents 1c91e99dcfe7
children 6f4fe5de62c8
line wrap: on
line diff
--- a/src/charset.c	Wed Mar 18 21:47:23 2009 +0000
+++ b/src/charset.c	Thu Mar 19 00:46:26 2009 +0000
@@ -522,10 +522,7 @@
   unbind_to (count, Qnil);
   if (fd < 0
       || ! (fp = fdopen (fd, "r")))
-    {
-      add_to_log ("Failure in loading charset map: %S", mapfile, Qnil);
-      return;
-    }
+    error ("Failure in loading charset map: %S", SDATA (mapfile));
 
   head = entries = ((struct charset_map_entries *)
 		    alloca (sizeof (struct charset_map_entries)));