* fileio.c (Finsert_file_contents): Simplify new diagnostic
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Jan 2013 00:40:07 +0000 (16:40 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Jan 2013 00:40:07 +0000 (16:40 -0800)
and make it more consistent with other stat-failure diagnostics.

src/ChangeLog
src/fileio.c

index a7b8ab7..4cd4178 100644 (file)
@@ -1,3 +1,8 @@
+2013-01-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * fileio.c (Finsert_file_contents): Simplify new diagnostic
+       and make it more consistent with other stat-failure diagnostics.
+
 2013-01-18  Dmitry Antipov  <dmantipov@yandex.ru>
 
        Fix crash when inserting data from non-regular files.  See
index 4c54fd8..bd845c2 100644 (file)
@@ -3574,8 +3574,7 @@ by calling `format-decode', which see.  */)
   record_unwind_protect (close_file_unwind, make_number (fd));
 
   if (fstat (fd, &st) != 0)
-    report_file_error ("Getting input file status",
-                      Fcons (orig_filename, Qnil));
+    report_file_error ("Input file status", Fcons (orig_filename, Qnil));
   mtime = get_stat_mtime (&st);
 
   /* This code will need to be changed in order to work on named