Re: Re : breakage in emacsclient

2020-11-11 Thread Andrew Eggenberger
No worries! Thank you. On Wed, Nov 11, 2020 at 3:26 AM Samuel Thibault wrote: > Samuel Thibault, le mer. 11 nov. 2020 10:18:49 +0100, a ecrit: > > Andrew Eggenberger, le mar. 10 nov. 2020 21:24:27 -0600, a ecrit: > > > I made a patch based on your advice that solves the issue for me. Any > feedb

Re: Re : breakage in emacsclient

2020-11-11 Thread Samuel Thibault
Samuel Thibault, le mer. 11 nov. 2020 10:18:49 +0100, a ecrit: > Andrew Eggenberger, le mar. 10 nov. 2020 21:24:27 -0600, a ecrit: > > I made a patch based on your advice that solves the issue for me. Any > > feedback > > would be appreciated. Thanks for your help. > > Great, applied, thanks! D'

Re: Re : breakage in emacsclient

2020-11-11 Thread Samuel Thibault
Andrew Eggenberger, le mar. 10 nov. 2020 21:24:27 -0600, a ecrit: > I made a patch based on your advice that solves the issue for me. Any feedback > would be appreciated. Thanks for your help. Great, applied, thanks! Samuel

Re: Re : breakage in emacsclient

2020-11-10 Thread Andrew Eggenberger
Hi Sam, I made a patch based on your advice that solves the issue for me. Any feedback would be appreciated. Thanks for your help. diff --git a/pflocal/io.c b/pflocal/io.c index 23e71ea4..2a6b104c 100644 --- a/pflocal/io.c +++ b/pflocal/io.c @@ -327,6 +327,8 @@ S_io_stat (struct sock_user *user,

Re: Re : breakage in emacsclient

2020-11-09 Thread Samuel Thibault
Andrew Eggenberger, le jeu. 29 oct. 2020 16:12:47 -0500, a ecrit: > I think the problem is with the pflocal/io.c implementation of S_io_stat. [...] > calling fstat on the  > file descriptor of a socket created with cloexec_socket (AF_UNIX, > SOCK_STREAM, 0);. But S_io_stat doesn't s

Re: Re : breakage in emacsclient

2020-10-29 Thread Andrew Eggenberger
> > I think the problem is with the pflocal/io.c implementation of S_io_stat. > emacsclient is trying to > compare the uid provided by geteuid with the uid in the stat buffer from > calling fstat on the > file descriptor of a socket created with cloexec_socket (AF_UNIX, > SOCK_STREAM, 0);. But > S_