Commit 17ad716a authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(Finsert_file_contents): Fix for the case of IO error

while handling replace operation.
parent e4c068c0
2006-05-11 Kenichi Handa <handa@m17n.org>
* fileio.c (Finsert_file_contents): Fix for the case of IO error
while handling replace operation.
2006-05-10 Kenichi Handa <handa@m17n.org>
 
* xfaces.c (realize_default_face) [HAVE_X_WINDOWS]: If the font
......
......@@ -4325,11 +4325,8 @@ actually used. */)
{
xfree (conversion_buffer);
coding_free_composition_data (&coding);
if (how_much == -1)
error ("IO error reading %s: %s",
SDATA (orig_filename), emacs_strerror (errno));
else if (how_much == -2)
error ("maximum buffer size exceeded");
error ("IO error reading %s: %s",
SDATA (orig_filename), emacs_strerror (errno));
}
/* Compare the beginning of the converted file
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment