]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve call-process-region error message.
authorJim Meyering <meyering@redhat.com>
Wed, 30 May 2012 14:20:45 +0000 (22:20 +0800)
committerChong Yidong <cyd@gnu.org>
Wed, 30 May 2012 14:20:45 +0000 (22:20 +0800)
* src/callproc.c (Fcall_process_region): Include directory component
in mkstemp error message.

Fixes: debbugs:11586
src/ChangeLog
src/callproc.c

index fabbcbef40d44d5c92cdce05c80c100051cbd422..c21c21deb9ab4f71b6b8544bd6230ceed92e87e0 100644 (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.
index f7c9971907df02f8c1078d4e41c7cb176001388f..976d3061c8bf2f056f4951dc98c67594c8bae396 100644 (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);
     }