Commit 45bd2734 authored by Paul Eggert's avatar Paul Eggert
Browse files

* src/emacs.c (main): [DAEMON_MUST_EXEC]: Restore close-on-exec after exec.

Fixes: debbugs:16262
parent a7f7e547
......@@ -1117,6 +1117,7 @@ Using an Emacs configured with --with-x-toolkit=lucid does not have this problem
sscanf (dname_arg, "\n%d,%d\n%s", &(daemon_pipe[0]), &(daemon_pipe[1]),
dname_arg = *dname_arg2 ? dname_arg2 : NULL;
fcntl (daemon_pipe[1], F_SETFD, FD_CLOEXEC);
#endif /* DAEMON_MUST_EXEC */
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