From fa705c9927b57158e8973cd950419a2ac0f72c53 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 18 Jan 2013 16:40:07 -0800 Subject: [PATCH] * fileio.c (Finsert_file_contents): Simplify new diagnostic and make it more consistent with other stat-failure diagnostics. --- src/ChangeLog | 5 +++++ src/fileio.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index a7b8ab7855b..4cd417868a1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2013-01-19 Paul Eggert + + * fileio.c (Finsert_file_contents): Simplify new diagnostic + and make it more consistent with other stat-failure diagnostics. + 2013-01-18 Dmitry Antipov Fix crash when inserting data from non-regular files. See diff --git a/src/fileio.c b/src/fileio.c index 4c54fd822ae..bd845c2f1e0 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -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 -- 2.39.5