diff options
| author | Jim Meyering | 2012-05-30 22:20:45 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-05-30 22:20:45 +0800 |
| commit | baac5bc76d4ac3d2bf73c20d085d36e062bb19cb (patch) | |
| tree | 8db17fcc468b90e91e0c5972365bdc01a93cc71c /src/callproc.c | |
| parent | 72cb32cf2f0938dd7dc733eed77b1ed1e497b053 (diff) | |
| download | emacs-baac5bc76d4ac3d2bf73c20d085d36e062bb19cb.tar.gz emacs-baac5bc76d4ac3d2bf73c20d085d36e062bb19cb.zip | |
Improve call-process-region error message.
* src/callproc.c (Fcall_process_region): Include directory component
in mkstemp error message.
Fixes: debbugs:11586
Diffstat (limited to 'src/callproc.c')
| -rw-r--r-- | src/callproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/callproc.c b/src/callproc.c index f7c9971907d..976d3061c8b 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -1015,7 +1015,7 @@ usage: (call-process-region START END PROGRAM &optional DELETE BUFFER DISPLAY &r | |||
| 1015 | UNBLOCK_INPUT; | 1015 | UNBLOCK_INPUT; |
| 1016 | if (fd == -1) | 1016 | if (fd == -1) |
| 1017 | report_file_error ("Failed to open temporary file", | 1017 | report_file_error ("Failed to open temporary file", |
| 1018 | Fcons (Vtemp_file_name_pattern, Qnil)); | 1018 | Fcons (build_string (tempfile), Qnil)); |
| 1019 | else | 1019 | else |
| 1020 | close (fd); | 1020 | close (fd); |
| 1021 | } | 1021 | } |