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

Re: emacsclient: can't stat /tmp/esrv1000-jidanni.org: Success

era+debian@iki.fi writes:
> The code as such is there; the "can't stat" message is still there in 
> <http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/lib-src/emacsclient.c>
> but I can't quickly figure out under what conditions errno will be 0,
> resulting in the "Success" from strerror().

Maybe getpwnam(), if the second socket_status() isn't run, ie. if
pw_uid == euid.

Dunno if that's what's happening, but probably should save errno if a
second socket_status() call might not be made.

Reply to: