1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 01:20:37 -08:00

Improve call-process-region error message.

* src/callproc.c (Fcall_process_region): Include directory component
in mkstemp error message.

Fixes: debbugs:11586
This commit is contained in:
Jim Meyering 2012-05-30 22:20:45 +08:00 committed by Chong Yidong
parent 72cb32cf2f
commit baac5bc76d
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-05-30 Jim Meyering <meyering@redhat.com>
* callproc.c (Fcall_process_region): Include directory component
in mkstemp error message (Bug#11586).
2012-05-30 Paul Eggert <eggert@cs.ucla.edu>
* alloc.c, lisp.h (make_pure_vector): Now static.

View file

@ -1015,7 +1015,7 @@ usage: (call-process-region START END PROGRAM &optional DELETE BUFFER DISPLAY &r
UNBLOCK_INPUT;
if (fd == -1)
report_file_error ("Failed to open temporary file",
Fcons (Vtemp_file_name_pattern, Qnil));
Fcons (build_string (tempfile), Qnil));
else
close (fd);
}