[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46022: 27.1; kill-emacs should call sd_notify only in daemon mode
From: |
Tim Ruffing |
Subject: |
bug#46022: 27.1; kill-emacs should call sd_notify only in daemon mode |
Date: |
Fri, 22 Jan 2021 13:07:35 +0100 |
I tested the patch and I can conform that it works and makes the
warnings disappear.
Thanks for the quick response!
Tim
On Fri, 2021-01-22 at 13:45 +0200, Eli Zaretskii wrote:
> > Cc: public@timruffing.de, 46022@debbugs.gnu.org
> > From: Lucas Werkmeister <mail@lucaswerkmeister.de>
> > Date: Fri, 22 Jan 2021 10:47:49 +0100
> >
> > > - daemon_type = -1;
> > > + daemon_type = -daemon_type;
> > >
> > > #else /* WINDOWSNT */
> > > /* Signal the waiting emacsclient process. */
> > >
> >
> > That looks good to me. If daemon_type is 0, it will now stay at 0
> > instead of being marked as invalid, but that should be okay, since
> > daemon-initialized has no special code for daemon_type == 0.
>
> Right.
>
> Tim, does this work for you? Can you perhaps test this on your
> system?