diff options
author | Eli Zaretskii <eliz@gnu.org> | 2018-11-19 21:51:51 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2018-11-19 21:51:51 +0200 |
commit | 008bc1cbc85ac8c95fd0cbd1b41a98f877dae838 (patch) | |
tree | 4c5fc2aeab36ac4745ff91ffa805eae1ea7f6426 /lib-src/emacsclient.c | |
parent | 57d5c14d2a390ca9a0a4d9fa934446150ecd16fc (diff) | |
download | emacs-008bc1cbc85ac8c95fd0cbd1b41a98f877dae838.tar.gz |
Fix last change
* lib-src/emacsclient.c (start_daemon_and_retry_set_socket)
[!WINDOWSNT]: Condition usage of socket_name on
NO_SOCKETS_IN_FILE_SYSTEM being undefined.
Diffstat (limited to 'lib-src/emacsclient.c')
-rw-r--r-- | lib-src/emacsclient.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 187d2d7b5be..66ada43908e 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -1535,6 +1535,7 @@ start_daemon_and_retry_set_socket (void) d_argv[0] = emacs; d_argv[1] = daemon_option; d_argv[2] = 0; +#ifndef NO_SOCKETS_IN_FILE_SYSTEM if (socket_name != NULL) { /* Pass --daemon=socket_name as argument. */ @@ -1544,6 +1545,7 @@ start_daemon_and_retry_set_socket (void) strcpy (stpcpy (daemon_arg, deq), socket_name); d_argv[1] = daemon_arg; } +#endif execvp ("emacs", d_argv); message (true, "%s: error starting emacs daemon\n", progname); } |