From unknown Sun Aug 10 16:43:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39371: Extend workaround for Cygwin O_PATH bug Resent-From: Ken Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 31 Jan 2020 16:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39371 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 39371@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158048730218916 (code B ref -1); Fri, 31 Jan 2020 16:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Jan 2020 16:15:02 +0000 Received: from localhost ([127.0.0.1]:37938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixYwf-0004uo-Hw for submit@debbugs.gnu.org; Fri, 31 Jan 2020 11:15:01 -0500 Received: from lists.gnu.org ([209.51.188.17]:57695) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixYwa-0004ud-RL for submit@debbugs.gnu.org; Fri, 31 Jan 2020 11:15:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36943) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixYwZ-0002b4-Hl for bug-gnu-emacs@gnu.org; Fri, 31 Jan 2020 11:14:56 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: *** X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_NONE,RECEIVED_FROM_WINDOWS_HOST,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixYwV-00034x-Tq for bug-gnu-emacs@gnu.org; Fri, 31 Jan 2020 11:14:55 -0500 Received: from mail-mw2nam10on2111.outbound.protection.outlook.com ([40.107.94.111]:48640 helo=NAM10-MW2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ixYwV-00032H-DR for bug-gnu-emacs@gnu.org; Fri, 31 Jan 2020 11:14:51 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Atc4cDS/TOIzJ7+Uvte2pW5Jwrmk9urU3G7B12jZBSpTi4lIXIzBrYmja9UXzvLDFF5//rjBzWwoa847H0zya8Iz0SAt5RiIUBBuYBYHmREMO0+AXpqB621KBZlEl4pO2K45SEhZhAl6RZ7EXl5+Q0J8ZuvMUyaVeesKxnKhsRWHmQT431FyejXEs8qMEnwScJzbItwRtZEhoqm8lh/3o4gmuBmpaTBELV+TUFm5GVH/jiWtTHrgjpEC2MeEVEjsFYA9XzWZwoYsX4JC1wBQk+tA73YXZ+kQgEd5TXDqLhYEBPgLZZD5I6uTucVzidVwZNEligub99p083zYC7QGIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4IHUOHprsR+sXS6oJgCxZRrqtlMoXXzr9cGKmfx9mEA=; b=RsrCNQdFTSq5wN3ZkChUJC8Mkw88emsHGLnTOxIIdzSBtK6wvSEzeZ9GwQfIcXhzQdAPq4JkULqLz5Iyf0guhWOpIBjwM0e4aS0Zd/eKq6Xb0aixCgQDpGmgMdl+vic+BJ/dEJO3EwRAcLwZqDYKosykL2P/qWtO1y0HiE9ilDhRdiHOoLy2Kaei+KkPpXLbn/eulycQlNdp7onj3kEbqTEV0o+D/u88TDSzHD2CXM/Tlla9d73qV2StB29e3jkfhU3raqn7w6Np/6ptvbjaaz4SiNfOUxLKCLy86PFflpT3s1Z6V7gIFLTFW5GKK8iW76i6leXuv83OZ30gQtYJOA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu; dkim=pass header.d=cornell.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cornell.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4IHUOHprsR+sXS6oJgCxZRrqtlMoXXzr9cGKmfx9mEA=; b=MIkL5XP1nwXqlEDR5ihiH+a/l0RZFehYm7tSPA3YyF9vRCazWSD/uL7DFrVfmqlQ05OW+A1DLPCUst1LFuSIfUSIRA8/FgKcIJmi9TYMRk9m9lUfuGQe0S02/y2NMJQla1j05ihU+lL+0wMxTTTO2V7MfgwLKOkHOVqnXesdmxk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kbrown@cornell.edu; Received: from DM6PR04MB5738.namprd04.prod.outlook.com (20.179.51.81) by DM6PR04MB7050.namprd04.prod.outlook.com (10.186.141.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2686.29; Fri, 31 Jan 2020 16:14:49 +0000 Received: from DM6PR04MB5738.namprd04.prod.outlook.com ([fe80::cc3:c238:852e:5831]) by DM6PR04MB5738.namprd04.prod.outlook.com ([fe80::cc3:c238:852e:5831%7]) with mapi id 15.20.2686.028; Fri, 31 Jan 2020 16:14:49 +0000 From: Ken Brown Message-ID: Date: Fri, 31 Jan 2020 11:14:47 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 Content-Type: multipart/mixed; boundary="------------AA1997590FCEA7A13728204D" Content-Language: en-US X-ClientProxiedBy: BN6PR1201CA0019.namprd12.prod.outlook.com (2603:10b6:405:4c::29) To DM6PR04MB5738.namprd04.prod.outlook.com (2603:10b6:5:16d::17) MIME-Version: 1.0 Received: from [10.13.22.8] (65.112.130.194) by BN6PR1201CA0019.namprd12.prod.outlook.com (2603:10b6:405:4c::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2686.27 via Frontend Transport; Fri, 31 Jan 2020 16:14:48 +0000 X-Originating-IP: [65.112.130.194] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3605b985-7997-4422-1f01-08d7a668b1f8 X-MS-TrafficTypeDiagnostic: DM6PR04MB7050: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-Forefront-PRVS: 029976C540 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4636009)(396003)(346002)(136003)(376002)(39860400002)(366004)(189003)(199004)(786003)(6916009)(31686004)(52116002)(316002)(16576012)(75432002)(66556008)(66476007)(81156014)(33964004)(81166006)(235185007)(66946007)(2906002)(31696002)(36756003)(5660300002)(86362001)(8936002)(956004)(2616005)(16526019)(6486002)(186003)(26005)(478600001)(8676002)(66616009); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR04MB7050; H:DM6PR04MB5738.namprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cornell.edu does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0ftE1YfTh00jSIwdroVUMa0ZC2cVVoF63SVBsUiLqk9RRRtUFnKz7GTi2GMAATmCM2Dsg7O7PAqaeOjdVx5AZsVlBTChsMt1vd/oW1dpVy2NJZePwlCSrE2wzNXNklgsq4rau9Dit6QFZO3pZW11sXNiwCwmSpKeLZUP8f3pgwuU5Yj64axLEDEn3HfQS5QklY039PAngpKE1wIcU/OJcCy4M+TP9QFDd9fn41DJrulu0ixu/68zES666vxDAC7lWQbBZffebJFnla9KPY9cDPlBnQt6IX1QxG5Q5qStjmq/b+iUnecEp1VySNCy4miDRzKke63aNo5Bc7mc0hv7mEY1X89TM21pCWrsl5WB4Zzgyfb0LFNj+wJsztrZeObg8+35r5NFovsK7bB6EtDPfqyvRFYpFZqM5/OwF+Z6C/5IthgUYPXVYAtfMHlTFR9V X-MS-Exchange-AntiSpam-MessageData: WT1vwY79bi3us7t1fdZ+P/l0V1b9Dl7HEvyzTmUT2g62NW6XaaP4sO0BXZgchKgdr9Od3H4YG915H5L1Km7Bnep6aJSkUToPDAHuj1wo2VSSb5YneuCCEK8e84GR6mVjauix18aj3Tg/9vxYbKJknw== X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 3605b985-7997-4422-1f01-08d7a668b1f8 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2020 16:14:49.0331 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: SxkbNmzdbRrOTvv/2XT+CGj5G1C4HbSG8kXvDPk1DS9rgTZ1/CVpP/mpu2tqMCgUKfzYcjrpaOmPvMBD/4zpHQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR04MB7050 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 40.107.94.111 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --------------AA1997590FCEA7A13728204D Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Commit 0b2841f9 introduced a workaround for a problem opening FIFOs with the O_PATH flag, in Cygwin versions 3.0.0 through 3.0.7. It turns out that there are problems opening sockets and symlinks with O_PATH in versions 3.1.0 through 3.1.2, so the workaround needs to be extended to these versions. The attached patch does this. The bug number still has to be filled in. In GNU Emacs 27.0.60 (build 2, x86_64-pc-cygwin, GTK+ Version 3.22.28) of 2020-01-30 Repository revision: de411615344d1551d685e45b0739e1f738cf4afd Repository branch: emacs-27 --------------AA1997590FCEA7A13728204D Content-Type: text/plain; charset=UTF-8; name="0001-Extend-workaround-for-Cygwin-O_PATH-bug.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-Extend-workaround-for-Cygwin-O_PATH-bug.patch" >From a230864098711e94251b701888475385c77c016d Mon Sep 17 00:00:00 2001 From: Ken Brown Date: Thu, 30 Jan 2020 21:58:33 -0500 Subject: [PATCH] Extend workaround for Cygwin O_PATH bug * configure.ac (HAVE_CYGWIN_O_PATH_BUG): Extend to Cygwin versions 3.1.0 through 3.1.2. (Bug#99999) --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 02ec57e6ab..3c47da6dcb 100644 --- a/configure.ac +++ b/configure.ac @@ -5751,9 +5751,9 @@ AC_DEFUN AC_MSG_WARN([[building Emacs on Cygwin 1.5 is not supported.]]) echo ;; - cygwin,3.0.[[0-7]]'('*) + cygwin,3.0.[[0-7]]'('* | cygwin,3.1.[[0-2]]'('*) AC_DEFINE([HAVE_CYGWIN_O_PATH_BUG], 1, - [Define to 1 if opening a FIFO with O_PATH causes a hang.]);; + [Define to 1 if opening a FIFO, socket, or symlink with O_PATH is buggy.]);; esac # Remove any trailing slashes in these variables. -- 2.21.0 --------------AA1997590FCEA7A13728204D-- From unknown Sun Aug 10 16:43:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39371: Extend workaround for Cygwin O_PATH bug Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 31 Jan 2020 17:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39371 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ken Brown Cc: 39371@debbugs.gnu.org Received: via spool by 39371-submit@debbugs.gnu.org id=B39371.158049082824585 (code B ref 39371); Fri, 31 Jan 2020 17:14:02 +0000 Received: (at 39371) by debbugs.gnu.org; 31 Jan 2020 17:13:48 +0000 Received: from localhost ([127.0.0.1]:38001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixZrY-0006OT-4m for submit@debbugs.gnu.org; Fri, 31 Jan 2020 12:13:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50285) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixZrX-0006OE-29 for 39371@debbugs.gnu.org; Fri, 31 Jan 2020 12:13:47 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ixZrR-0001fl-St; Fri, 31 Jan 2020 12:13:41 -0500 Received: from [176.228.60.248] (port=4547 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ixZrR-0000EP-D1; Fri, 31 Jan 2020 12:13:41 -0500 Date: Fri, 31 Jan 2020 19:13:21 +0200 Message-Id: <83tv4bk0r2.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Ken Brown on Fri, 31 Jan 2020 11:14:47 -0500) References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > From: Ken Brown > Date: Fri, 31 Jan 2020 11:14:47 -0500 > > Commit 0b2841f9 introduced a workaround for a problem opening FIFOs with the > O_PATH flag, in Cygwin versions 3.0.0 through 3.0.7. It turns out that there > are problems opening sockets and symlinks with O_PATH in versions 3.1.0 through > 3.1.2, so the workaround needs to be extended to these versions. > > The attached patch does this. The bug number still has to be filled in. Fine with me, thanks. From unknown Sun Aug 10 16:43:54 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ken Brown Subject: bug#39371: closed (Re: bug#39371: Extend workaround for Cygwin O_PATH bug) Message-ID: References: <2ae6ca16-1dc7-09e2-b27a-5f813ddd1c97@cornell.edu> X-Gnu-PR-Message: they-closed 39371 X-Gnu-PR-Package: emacs Reply-To: 39371@debbugs.gnu.org Date: Fri, 31 Jan 2020 21:42:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1580506922-24671-1" This is a multi-part message in MIME format... ------------=_1580506922-24671-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #39371: Extend workaround for Cygwin O_PATH bug which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 39371@debbugs.gnu.org. --=20 39371: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D39371 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1580506922-24671-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 39371-done) by debbugs.gnu.org; 31 Jan 2020 21:41:45 +0000 Received: from localhost ([127.0.0.1]:38181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixe2r-0006PS-0C for submit@debbugs.gnu.org; Fri, 31 Jan 2020 16:41:45 -0500 Received: from mail-mw2nam10on2101.outbound.protection.outlook.com ([40.107.94.101]:20832 helo=NAM10-MW2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixe2p-0006PE-Ad for 39371-done@debbugs.gnu.org; Fri, 31 Jan 2020 16:41:43 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mzqAu96jQAJmAiKotgYFiBgOEhO+9Y50wdluTkMbrmEtHOioISjri12ueTaLTBtoGdly+qLesNaW9UUvwGWAlsPVoKV1omJUc/VR7kjrDBgfpyjKijlaL+uzGuiYWexIHLofsryU7wsqXXIBLwZkMWZN1t3jXtxDkRDWEaVDM128sWKaYvbEoMnE0aWMRETD9LGuc8q0Y1s+FWtAlPXpnvzg86vN0r5nDi6k1oyGkvlfiErsd4dj80r78G5MF4wXnIfohb45sLiVZ6rEgw0IUXhfdpmCtSDpS4S0+hBVWakRNAv+imrX/wa/jmRND7g7fu+DgDneOVMfyiW3sMpY3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lHZ9a+XiV5epK7xMYM6DNSvfPlei7cSv9nKUpTAkcrw=; b=Q5mOH3YlIylTuEtbo7QO7vICl/KWR3CakxJkfDvKCyxfLySsWYStBZDNAFCPQ0CaDfGIdSBdZYibeg/vPHp60iRHPMlHPnldqSxmkfAvQAFiQ+ui9MkiWG+xIcKMfD5YI6P69xO6I6SnxNrfhalV75HLVQuN1shggWcrwgIZmZX7YRXtXWhD3sbpyiDa609+rM0f6GK1wGBFV9QA9SXCbJZOjS0ixwilruD7YSGqkdyeKifiFsaR9yYrgC+Fw9xmilY2cfK5xQFPWNV/wBJvycpghW0IyuxTMQW65+/ZU+WMKySsmdC981GvCr05crzUvsm7TTHrg1v5hchSk5tfKg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu; dkim=pass header.d=cornell.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cornell.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lHZ9a+XiV5epK7xMYM6DNSvfPlei7cSv9nKUpTAkcrw=; b=eOi3T0fj37dxsBHZx7T4f1SWPsx3STr3Tq5JOK8xPXGA3fqhb3ZZnSV6Jbg0z07x/N+0FjWPqUtXHFhBSSdX1LwgIU/DcO8vVxlQ0Y1JPpUrPiZNiVkkgyzjeEMCroj/W2eZI4rAuP+2LaWTqZgnRXA5kiA7SNxKI4XYtDcB4vc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kbrown@cornell.edu; Received: from DM6PR04MB5738.namprd04.prod.outlook.com (20.179.51.81) by DM6PR04MB4908.namprd04.prod.outlook.com (20.176.112.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2665.22; Fri, 31 Jan 2020 21:41:36 +0000 Received: from DM6PR04MB5738.namprd04.prod.outlook.com ([fe80::cc3:c238:852e:5831]) by DM6PR04MB5738.namprd04.prod.outlook.com ([fe80::cc3:c238:852e:5831%7]) with mapi id 15.20.2686.028; Fri, 31 Jan 2020 21:41:36 +0000 Subject: Re: bug#39371: Extend workaround for Cygwin O_PATH bug To: 39371-done@debbugs.gnu.org References: <83tv4bk0r2.fsf@gnu.org> From: Ken Brown Message-ID: <2ae6ca16-1dc7-09e2-b27a-5f813ddd1c97@cornell.edu> Date: Fri, 31 Jan 2020 16:41:34 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 In-Reply-To: <83tv4bk0r2.fsf@gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BN6PR02CA0033.namprd02.prod.outlook.com (2603:10b6:404:5f::19) To DM6PR04MB5738.namprd04.prod.outlook.com (2603:10b6:5:16d::17) MIME-Version: 1.0 Received: from [10.13.22.8] (65.112.130.194) by BN6PR02CA0033.namprd02.prod.outlook.com (2603:10b6:404:5f::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2665.23 via Frontend Transport; Fri, 31 Jan 2020 21:41:36 +0000 X-Originating-IP: [65.112.130.194] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 550cf8f4-3815-4325-54a9-08d7a69658ec X-MS-TrafficTypeDiagnostic: DM6PR04MB4908: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1728; X-Forefront-PRVS: 029976C540 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4636009)(136003)(346002)(39860400002)(396003)(376002)(366004)(189003)(199004)(36756003)(31696002)(316002)(786003)(2906002)(956004)(2616005)(26005)(75432002)(8936002)(31686004)(558084003)(66476007)(8676002)(6486002)(16526019)(186003)(66556008)(19618925003)(66946007)(6916009)(52116002)(478600001)(81166006)(16576012)(81156014)(86362001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR04MB4908; H:DM6PR04MB5738.namprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cornell.edu does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 12xpwnXlcFEfvrRyLoAFJu7uXlMPlu7kTj5GYJAjn/KEkt9PdTNg2u6Ha4dJyEm1N6fpz3jp3SekS4bT26Erit3tRxpdA4Zrf2shkTYb3OgL9yHALLfwvTQdUVno+EkG4rgxv2Yly7kV2nrSxVXmrhtOs/7DJsXL9jaocs0eWjCGPSUN7zny+FdbLKb5dVNM2O73SJ9ym7DMiJ+lhL6++eG6BWu3hXDoR26CiYRGv8chMfmDrlarZhF8FsBV0wG7nbuIsAFCmJL0ZhGemhNBFpEk3WSL8sXbLL1s7alO3LEdfTi7PBopRGk7S53soDcc X-MS-Exchange-AntiSpam-MessageData: y/lg/hCTMCVdoHUbn/MwaDJ1Uc3atAStthuFd/UuZ2KsNxzk7kWe1Y2001oBGi/ykuVhWFbX3vIGzt6/01sS0trh2g7Z+RpNWexXU9fiU83FkjQnGL9VfP8F4qF127muX4owyNFl7UfYm+mFIQqheQ== X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 550cf8f4-3815-4325-54a9-08d7a69658ec X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2020 21:41:36.4902 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 6d1k2jpRkO/Hq9YflpCouvhbeAnrMI269CNihXBHnOZQj4KcMuLl+BD8/Pa2M/K33jkVNfHMJc+cu9OHQbXX6Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR04MB4908 X-Spam-Score: 2.5 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Closing. Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.94.101 listed in list.dnswl.org] 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: cornell.edu] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay 2.5 BODY_SINGLE_WORD Message body is only one word (no spaces) X-Debbugs-Envelope-To: 39371-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Closing. Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: cornell.edu] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.94.101 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay 2.5 BODY_SINGLE_WORD Message body is only one word (no spaces) Closing. ------------=_1580506922-24671-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 31 Jan 2020 16:15:02 +0000 Received: from localhost ([127.0.0.1]:37938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixYwf-0004uo-Hw for submit@debbugs.gnu.org; Fri, 31 Jan 2020 11:15:01 -0500 Received: from lists.gnu.org ([209.51.188.17]:57695) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixYwa-0004ud-RL for submit@debbugs.gnu.org; Fri, 31 Jan 2020 11:15:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36943) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixYwZ-0002b4-Hl for bug-gnu-emacs@gnu.org; Fri, 31 Jan 2020 11:14:56 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: *** X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_NONE,RECEIVED_FROM_WINDOWS_HOST,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixYwV-00034x-Tq for bug-gnu-emacs@gnu.org; Fri, 31 Jan 2020 11:14:55 -0500 Received: from mail-mw2nam10on2111.outbound.protection.outlook.com ([40.107.94.111]:48640 helo=NAM10-MW2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ixYwV-00032H-DR for bug-gnu-emacs@gnu.org; Fri, 31 Jan 2020 11:14:51 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Atc4cDS/TOIzJ7+Uvte2pW5Jwrmk9urU3G7B12jZBSpTi4lIXIzBrYmja9UXzvLDFF5//rjBzWwoa847H0zya8Iz0SAt5RiIUBBuYBYHmREMO0+AXpqB621KBZlEl4pO2K45SEhZhAl6RZ7EXl5+Q0J8ZuvMUyaVeesKxnKhsRWHmQT431FyejXEs8qMEnwScJzbItwRtZEhoqm8lh/3o4gmuBmpaTBELV+TUFm5GVH/jiWtTHrgjpEC2MeEVEjsFYA9XzWZwoYsX4JC1wBQk+tA73YXZ+kQgEd5TXDqLhYEBPgLZZD5I6uTucVzidVwZNEligub99p083zYC7QGIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4IHUOHprsR+sXS6oJgCxZRrqtlMoXXzr9cGKmfx9mEA=; b=RsrCNQdFTSq5wN3ZkChUJC8Mkw88emsHGLnTOxIIdzSBtK6wvSEzeZ9GwQfIcXhzQdAPq4JkULqLz5Iyf0guhWOpIBjwM0e4aS0Zd/eKq6Xb0aixCgQDpGmgMdl+vic+BJ/dEJO3EwRAcLwZqDYKosykL2P/qWtO1y0HiE9ilDhRdiHOoLy2Kaei+KkPpXLbn/eulycQlNdp7onj3kEbqTEV0o+D/u88TDSzHD2CXM/Tlla9d73qV2StB29e3jkfhU3raqn7w6Np/6ptvbjaaz4SiNfOUxLKCLy86PFflpT3s1Z6V7gIFLTFW5GKK8iW76i6leXuv83OZ30gQtYJOA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu; dkim=pass header.d=cornell.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cornell.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4IHUOHprsR+sXS6oJgCxZRrqtlMoXXzr9cGKmfx9mEA=; b=MIkL5XP1nwXqlEDR5ihiH+a/l0RZFehYm7tSPA3YyF9vRCazWSD/uL7DFrVfmqlQ05OW+A1DLPCUst1LFuSIfUSIRA8/FgKcIJmi9TYMRk9m9lUfuGQe0S02/y2NMJQla1j05ihU+lL+0wMxTTTO2V7MfgwLKOkHOVqnXesdmxk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kbrown@cornell.edu; Received: from DM6PR04MB5738.namprd04.prod.outlook.com (20.179.51.81) by DM6PR04MB7050.namprd04.prod.outlook.com (10.186.141.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2686.29; Fri, 31 Jan 2020 16:14:49 +0000 Received: from DM6PR04MB5738.namprd04.prod.outlook.com ([fe80::cc3:c238:852e:5831]) by DM6PR04MB5738.namprd04.prod.outlook.com ([fe80::cc3:c238:852e:5831%7]) with mapi id 15.20.2686.028; Fri, 31 Jan 2020 16:14:49 +0000 To: bug-gnu-emacs@gnu.org From: Ken Brown Subject: Extend workaround for Cygwin O_PATH bug Message-ID: Date: Fri, 31 Jan 2020 11:14:47 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 Content-Type: multipart/mixed; boundary="------------AA1997590FCEA7A13728204D" Content-Language: en-US X-ClientProxiedBy: BN6PR1201CA0019.namprd12.prod.outlook.com (2603:10b6:405:4c::29) To DM6PR04MB5738.namprd04.prod.outlook.com (2603:10b6:5:16d::17) MIME-Version: 1.0 Received: from [10.13.22.8] (65.112.130.194) by BN6PR1201CA0019.namprd12.prod.outlook.com (2603:10b6:405:4c::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2686.27 via Frontend Transport; Fri, 31 Jan 2020 16:14:48 +0000 X-Originating-IP: [65.112.130.194] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3605b985-7997-4422-1f01-08d7a668b1f8 X-MS-TrafficTypeDiagnostic: DM6PR04MB7050: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-Forefront-PRVS: 029976C540 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4636009)(396003)(346002)(136003)(376002)(39860400002)(366004)(189003)(199004)(786003)(6916009)(31686004)(52116002)(316002)(16576012)(75432002)(66556008)(66476007)(81156014)(33964004)(81166006)(235185007)(66946007)(2906002)(31696002)(36756003)(5660300002)(86362001)(8936002)(956004)(2616005)(16526019)(6486002)(186003)(26005)(478600001)(8676002)(66616009); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR04MB7050; H:DM6PR04MB5738.namprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cornell.edu does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0ftE1YfTh00jSIwdroVUMa0ZC2cVVoF63SVBsUiLqk9RRRtUFnKz7GTi2GMAATmCM2Dsg7O7PAqaeOjdVx5AZsVlBTChsMt1vd/oW1dpVy2NJZePwlCSrE2wzNXNklgsq4rau9Dit6QFZO3pZW11sXNiwCwmSpKeLZUP8f3pgwuU5Yj64axLEDEn3HfQS5QklY039PAngpKE1wIcU/OJcCy4M+TP9QFDd9fn41DJrulu0ixu/68zES666vxDAC7lWQbBZffebJFnla9KPY9cDPlBnQt6IX1QxG5Q5qStjmq/b+iUnecEp1VySNCy4miDRzKke63aNo5Bc7mc0hv7mEY1X89TM21pCWrsl5WB4Zzgyfb0LFNj+wJsztrZeObg8+35r5NFovsK7bB6EtDPfqyvRFYpFZqM5/OwF+Z6C/5IthgUYPXVYAtfMHlTFR9V X-MS-Exchange-AntiSpam-MessageData: WT1vwY79bi3us7t1fdZ+P/l0V1b9Dl7HEvyzTmUT2g62NW6XaaP4sO0BXZgchKgdr9Od3H4YG915H5L1Km7Bnep6aJSkUToPDAHuj1wo2VSSb5YneuCCEK8e84GR6mVjauix18aj3Tg/9vxYbKJknw== X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 3605b985-7997-4422-1f01-08d7a668b1f8 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2020 16:14:49.0331 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: SxkbNmzdbRrOTvv/2XT+CGj5G1C4HbSG8kXvDPk1DS9rgTZ1/CVpP/mpu2tqMCgUKfzYcjrpaOmPvMBD/4zpHQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR04MB7050 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 40.107.94.111 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --------------AA1997590FCEA7A13728204D Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Commit 0b2841f9 introduced a workaround for a problem opening FIFOs with the O_PATH flag, in Cygwin versions 3.0.0 through 3.0.7. It turns out that there are problems opening sockets and symlinks with O_PATH in versions 3.1.0 through 3.1.2, so the workaround needs to be extended to these versions. The attached patch does this. The bug number still has to be filled in. In GNU Emacs 27.0.60 (build 2, x86_64-pc-cygwin, GTK+ Version 3.22.28) of 2020-01-30 Repository revision: de411615344d1551d685e45b0739e1f738cf4afd Repository branch: emacs-27 --------------AA1997590FCEA7A13728204D Content-Type: text/plain; charset=UTF-8; name="0001-Extend-workaround-for-Cygwin-O_PATH-bug.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-Extend-workaround-for-Cygwin-O_PATH-bug.patch" >From a230864098711e94251b701888475385c77c016d Mon Sep 17 00:00:00 2001 From: Ken Brown Date: Thu, 30 Jan 2020 21:58:33 -0500 Subject: [PATCH] Extend workaround for Cygwin O_PATH bug * configure.ac (HAVE_CYGWIN_O_PATH_BUG): Extend to Cygwin versions 3.1.0 through 3.1.2. (Bug#99999) --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 02ec57e6ab..3c47da6dcb 100644 --- a/configure.ac +++ b/configure.ac @@ -5751,9 +5751,9 @@ AC_DEFUN AC_MSG_WARN([[building Emacs on Cygwin 1.5 is not supported.]]) echo ;; - cygwin,3.0.[[0-7]]'('*) + cygwin,3.0.[[0-7]]'('* | cygwin,3.1.[[0-2]]'('*) AC_DEFINE([HAVE_CYGWIN_O_PATH_BUG], 1, - [Define to 1 if opening a FIFO with O_PATH causes a hang.]);; + [Define to 1 if opening a FIFO, socket, or symlink with O_PATH is buggy.]);; esac # Remove any trailing slashes in these variables. -- 2.21.0 --------------AA1997590FCEA7A13728204D-- ------------=_1580506922-24671-1--