aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/charset.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 7d2f75d2534..29c29353cf3 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12009-03-19 Kenichi Handa <handa@m17n.org>
2
3 * charset.c (load_charset_map_from_file): When a mapfile can't be
4 loaded, signal an error.
5
12009-03-18 Eli Zaretskii <eliz@gnu.org> 62009-03-18 Eli Zaretskii <eliz@gnu.org>
2 7
3 * dired.c (Ffile_attributes): Make sure UID and GID are always 8 * dired.c (Ffile_attributes): Make sure UID and GID are always
diff --git a/src/charset.c b/src/charset.c
index fa3515b5443..27812759e65 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -522,10 +522,7 @@ load_charset_map_from_file (charset, mapfile, control_flag)
522 unbind_to (count, Qnil); 522 unbind_to (count, Qnil);
523 if (fd < 0 523 if (fd < 0
524 || ! (fp = fdopen (fd, "r"))) 524 || ! (fp = fdopen (fd, "r")))
525 { 525 error ("Failure in loading charset map: %S", SDATA (mapfile));
526 add_to_log ("Failure in loading charset map: %S", mapfile, Qnil);
527 return;
528 }
529 526
530 head = entries = ((struct charset_map_entries *) 527 head = entries = ((struct charset_map_entries *)
531 alloca (sizeof (struct charset_map_entries))); 528 alloca (sizeof (struct charset_map_entries)));