From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#33847: 27.0.50; emacsclient does not find server socket Date: Fri, 23 Jul 2021 13:31:35 +0200 Message-ID: <87wnphe06g.fsf@gnus.org> References: <8a6fc59c-08b3-e274-4fb1-74674c79540a@cs.ucla.edu> <27d2f2eb-8956-4088-f3ec-5ff6c2cf2e8f@cs.ucla.edu> <87eeo27v6k.fsf@gnus.org> <83lfi79klf.fsf@gnu.org> <831rjya5yy.fsf@gnu.org> <8333533f-08ec-acd4-2fbf-f06e78591e98@cs.ucla.edu> <83v9h99awv.fsf@gnu.org> <878s1yjy20.fsf@gnus.org> <83lf5y2t78.fsf@gnu.org> <878s1yi8jc.fsf@gnus.org> <83h7gm2r4j.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37493"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: teika@gmx.com, eggert@cs.ucla.edu, 33847@debbugs.gnu.org, ulm@gentoo.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 23 13:33:40 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m6tQx-0009X7-Sf for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Jul 2021 13:33:39 +0200 Original-Received: from localhost ([::1]:47042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m6tQw-0008Kg-L5 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Jul 2021 07:33:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6tPO-0006dg-GV for bug-gnu-emacs@gnu.org; Fri, 23 Jul 2021 07:32:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59107) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m6tPO-0003cX-6l for bug-gnu-emacs@gnu.org; Fri, 23 Jul 2021 07:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m6tPO-0005ZT-2F for bug-gnu-emacs@gnu.org; Fri, 23 Jul 2021 07:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Jul 2021 11:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33847 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 33847-submit@debbugs.gnu.org id=B33847.162703991020845 (code B ref 33847); Fri, 23 Jul 2021 11:32:02 +0000 Original-Received: (at 33847) by debbugs.gnu.org; 23 Jul 2021 11:31:50 +0000 Original-Received: from localhost ([127.0.0.1]:42420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m6tPB-0005Pu-NG for submit@debbugs.gnu.org; Fri, 23 Jul 2021 07:31:50 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:37660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m6tP8-0005J8-Ea for 33847@debbugs.gnu.org; Fri, 23 Jul 2021 07:31:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=b8UVi9wRRhN2wC9lZ59yMXtyQmVsP20zwLtpQPO4a7U=; b=KXlBhHYIxJj1T82jWT9tXVclnO grdaKchDSeg2+cYnuRR2WVvllzFa8xpKpmKG+rH8kYUa5R4yl0oeGdbn8cbw0GFQ29aczMAgsghW2 k1kESxnJCJauXYiZuxwUyrpwY5CMJl6KdugBuwtuF4VKjeCYf59MAyjvb9X4Xg7yegjI=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m6tOy-00070i-1q; Fri, 23 Jul 2021 13:31:38 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAALVBMVEX7+/vi4d3DwrzO zcuvrqu/v7mPj41gYF9PT08fHyADAwQtLS50c3N/f4D///+/Y3f8AAAAAWJLR0QOb70wTwAAAAd0 SU1FB+UHFwo6Jg+ATfUAAAFVSURBVDjLvZK/S8NAFMffkVC1ONyZULA4VPoP3BFRKA4pVAed/A/s 4hAcBDcnBxejg05KNlGa5rVDB6fg0KFT/wT/Gi+NIdh7GUTwm+Uun/f7HUClBLQsBT7ANpMud8Hl tm+daOBZfXbAfAY7rNWQLjR4zc/sQDFHf11tsfAQG8pRQgnw2h4p+GcxkStPbpSjMsazxv+iXUn/ X7l9osER4mkVuK4AdxMS7M/OaA8b7At6JHtb0/L2PR994rXZ8bsB9HCscHSZ3ojSsgg0T3oQ4tTI sI4o4QofgS+BVUwA5vhgeCzAZwn4DxDgy1ILDDZz8GqEauZgwIjZdlmKb/Q2KBAg+iwiQIiJ1B4D A0SIH+cpjimQaWgsA38LrAIU+ygW44xyYCa/zx2kAdoRJkQKsCYBDnUbfaOq5w7GAdE4HK5h3KGA XmHcJIrKnsm4TgIb43oZ6gv0cocGYVYw+wAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0wNy0yM1Qx MDo1ODozOCswMDowMO6R6QgAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMDctMjNUMTA6NTg6Mzgr MDA6MDCfzFG0AAAAAElFTkSuQmCC X-Now-Playing: Jane Siberry's _Jane Siberry_: "This Girl I Know" In-Reply-To: <83h7gm2r4j.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 22 Jul 2021 20:30:20 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:210564 Archived-At: Eli Zaretskii writes: >> +#include <<<<<<<<<<<<<<<<<<<<<<<<<<< >> #include >> #include >> #include > > We cannot unconditionally include acl.h on MS-Windows, so this has to > be #ifdef'ed away. >> +#ifndef O_PATH >> +# define O_PATH O_SEARCH <<<<<<<<<<<<<<<<<<<<<<<<< >> +#endif > > This is probably harmless, but I'd like to #ifdef it away as well. OK; I've now adjusted the patch with those two things... > The only other worry is whether we indeed have ways to test this > thoroughly enough on Posix systems. ... and that is indeed the major problem here -- this is an area where it's very difficult to test all the use cases, and Emacs behaves differently here on different systems. I think the only realistic way to get some testing here is to just push it to the trunk and see whether people report issues, unfortunately. (The patch works fine on this Debian system, at least, and Ulrich reports the same, so we have at least two systems it works on. :-)) So I'll push the patch and we'll see whether there's any fall-out... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no