+2012-11-29 Paul Eggert <eggert@cs.ucla.edu>
+
+ * callproc.c (Fcall_process): Don't misreport vfork failure.
+
2012-11-28 Paul Eggert <eggert@cs.ucla.edu>
* callproc.c (Fcall_process): Fix vfork portability problems.
#else
pid_t pid;
#endif
+ int vfork_errno;
int fd_output = -1;
struct coding_system process_coding; /* coding-system of process output */
struct coding_system argument_coding; /* coding-system of arguments */
child_setup (filefd, fd1, fd_error, new_argv, 0, current_dir);
}
+ vfork_errno = errno;
unblock_input ();
#endif /* not WINDOWSNT */
{
if (fd0 >= 0)
emacs_close (fd0);
+ errno = vfork_errno;
report_file_error ("Doing vfork", Qnil);
}