emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 2d15296: Fix failure of 'emacs --daemon' on Cygwin


From: Ken Brown
Subject: emacs-27 2d15296: Fix failure of 'emacs --daemon' on Cygwin
Date: Thu, 29 Oct 2020 10:44:37 -0400 (EDT)

branch: emacs-27
commit 2d15296db112740bcb6e7fa5808b57f12a99e49e
Author: Ken Brown <kbrown@cornell.edu>
Commit: Ken Brown <kbrown@cornell.edu>

    Fix failure of 'emacs --daemon' on Cygwin
    
    * src/emacs.c (DAEMON_MUST_EXEC): Define unconditionally on
    Cygwin, not just if HAVE_NTGUI is defined.  This fixes the failure
    of 'emacs --daemon' to start on the non-w32 Cygwin builds.
    (Bug#44285)
---
 src/emacs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/emacs.c b/src/emacs.c
index 11dcdb3..3836f17 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -171,7 +171,7 @@ static uintmax_t heap_bss_diff;
    We mark being in the exec'd process by a daemon name argument of
    form "--daemon=\nFD0,FD1\nNAME" where FD are the pipe file descriptors,
    NAME is the original daemon name, if any. */
-#if defined NS_IMPL_COCOA || (defined HAVE_NTGUI && defined CYGWIN)
+#if defined NS_IMPL_COCOA || defined CYGWIN
 # define DAEMON_MUST_EXEC
 #endif
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]