emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r111549: * fileio.c (Finsert_file_con


From: Paul Eggert
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r111549: * fileio.c (Finsert_file_contents): Simplify new diagnostic
Date: Fri, 18 Jan 2013 16:40:07 -0800
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111549
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Fri 2013-01-18 16:40:07 -0800
message:
  * fileio.c (Finsert_file_contents): Simplify new diagnostic
  
  and make it more consistent with other stat-failure diagnostics.
modified:
  src/ChangeLog
  src/fileio.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-01-18 06:32:12 +0000
+++ b/src/ChangeLog     2013-01-19 00:40:07 +0000
@@ -1,3 +1,8 @@
+2013-01-19  Paul Eggert  <address@hidden>
+
+       * fileio.c (Finsert_file_contents): Simplify new diagnostic
+       and make it more consistent with other stat-failure diagnostics.
+
 2013-01-18  Dmitry Antipov  <address@hidden>
 
        Fix crash when inserting data from non-regular files.  See

=== modified file 'src/fileio.c'
--- a/src/fileio.c      2013-01-18 06:32:12 +0000
+++ b/src/fileio.c      2013-01-19 00:40:07 +0000
@@ -3574,8 +3574,7 @@
   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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]