On Wed, Oct 28, 2020, at 7:09 PM, Ken Brown wrote:
> 
> I won't have time to check this until tomorrow, but I'm guessing that the 
> following patch will fix the problem:
> 
> --- a/src/emacs.c
> +++ b/src/emacs.c
> @@ -170,7 +170,7 @@ #define MAIN_PROGRAM
>      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
> 
> My guess is based mostly on the fact that the problem doesn't occur in 
> emacs-w32 
> (i.e., when HAVE_NTGUI is defined).  Please give this a try if you have 
> a chance 
> before I get to it.

Thank you.  That worked for me.
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to