# HG changeset patch # User Kenichi Handa # Date 1237423586 0 # Node ID b9092d75665aa9df73a7f017dc5ee7b00d089362 # Parent b4d3393d69624aa9f017c7b57f0c7d463ed1d521 (load_charset_map_from_file): When a mapfile can't be loaded, signal an error. diff -r b4d3393d6962 -r b9092d75665a src/charset.c --- 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)));