mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-03 04:21:28 -08:00
Backport fix for execvp issue from trunk
This commit is contained in:
parent
463d631919
commit
b8f7436616
2 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2013-02-03 Daniel Colascione <dancol@dancol.org>
|
||||
|
||||
* emacs.c: Use execvp, not execv, when DAEMON_MUST_EXEC, so that
|
||||
daemon mode works on cygw32 when Emacs is installed and not just
|
||||
during development.
|
||||
|
||||
2013-02-01 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* callproc.c (Fcall_process): Make sure program name in PATH and
|
||||
|
|
|
|||
|
|
@ -1036,7 +1036,7 @@ Using an Emacs configured with --with-x-toolkit=lucid does not have this problem
|
|||
|
||||
argv[skip_args] = fdStr;
|
||||
|
||||
execv (argv[0], argv);
|
||||
execvp (argv[0], argv);
|
||||
fprintf (stderr, "emacs daemon: exec failed: %d\n", errno);
|
||||
exit (1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue