emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v5] Add systemd socket launching support


From: Matthew Leach
Subject: Re: [PATCH v5] Add systemd socket launching support
Date: Tue, 26 Apr 2016 10:17:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Hi Paul,

Matthew Leach <address@hidden> writes:
> Paul Eggert <address@hidden> writes:

[...]

>> @@ -7775,7 +7772,7 @@ init_process_emacs (void)
>>    FD_ZERO (&non_keyboard_wait_mask);
>>    FD_ZERO (&non_process_wait_mask);
>>    FD_ZERO (&write_mask);
>> -  max_process_desc = max_input_desc = -1;
>> +  max_process_desc = max_input_desc = external_sock_fd = -1;
>
> Setting `external_sock_fd' here doesn't work as 'init_process_emacs' is
> called later in 'main' than 'set_external_socket_descriptor' is; any
> descriptor that is passed through from systemd would be overwritten with
> -1.

Should I send in a patch to fix this or are you OK doing it?

Thanks,
-- 
Matt



reply via email to

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