Commit cb1d0ef7 authored by Paul Eggert's avatar Paul Eggert
Browse files

* callproc.c (relocate_fd): Rename locals to avoid shadowing.

parent 7710357c
2011-03-18 Paul Eggert <eggert@cs.ucla.edu>
 
* callproc.c (call_process_cleanup): Now static.
(relocate_fd): Rename locals to avoid shadowing.
 
2011-03-17 Eli Zaretskii <eliz@gnu.org>
 
......@@ -1272,12 +1272,12 @@ relocate_fd (int fd, int minfd)
#endif
if (new == -1)
{
const char *message1 = "Error while setting up child: ";
const char *message_1 = "Error while setting up child: ";
const char *errmessage = strerror (errno);
const char *message2 = "\n";
emacs_write (2, message1, strlen (message1));
const char *message_2 = "\n";
emacs_write (2, message_1, strlen (message_1));
emacs_write (2, errmessage, strlen (errmessage));
emacs_write (2, message2, strlen (message2));
emacs_write (2, message_2, strlen (message_2));
_exit (1);
}
emacs_close (fd);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment