From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#30350: 27.0.50; Newest master can't run processes on macOS Date: Mon, 5 Feb 2018 16:36:13 -0800 Organization: UCLA Computer Science Department Message-ID: <59f3f90b-f19d-71be-6cf9-de8a020db174@cs.ucla.edu> References: <616d413a-893c-a058-9620-0ac852fc8490@cs.ucla.edu> <20180205191824.GA64467@breton.holly.idiocy.org> <0bec28a7-e163-8e7c-3759-4189533f50b6@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1517877329 21497 195.159.176.226 (6 Feb 2018 00:35:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 6 Feb 2018 00:35:29 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 Cc: 30350@debbugs.gnu.org, Alan Third , Sam Steingold To: Philipp Stephani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 06 01:35:25 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eirE7-0004VY-L8 for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Feb 2018 01:35:11 +0100 Original-Received: from localhost ([::1]:57280 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eirG8-00088V-Oz for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Feb 2018 19:37:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eirG1-00087v-UQ for bug-gnu-emacs@gnu.org; Mon, 05 Feb 2018 19:37:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eirFu-00032S-Pd for bug-gnu-emacs@gnu.org; Mon, 05 Feb 2018 19:37:09 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51335) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eirFu-00032F-Lx for bug-gnu-emacs@gnu.org; Mon, 05 Feb 2018 19:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eirFu-0002Dt-EX for bug-gnu-emacs@gnu.org; Mon, 05 Feb 2018 19:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Feb 2018 00:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30350 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30350-submit@debbugs.gnu.org id=B30350.15178773818498 (code B ref 30350); Tue, 06 Feb 2018 00:37:02 +0000 Original-Received: (at 30350) by debbugs.gnu.org; 6 Feb 2018 00:36:21 +0000 Original-Received: from localhost ([127.0.0.1]:59232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eirFF-0002D0-70 for submit@debbugs.gnu.org; Mon, 05 Feb 2018 19:36:21 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:41740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eirFD-0002Co-UU for 30350@debbugs.gnu.org; Mon, 05 Feb 2018 19:36:20 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 55F20160076; Mon, 5 Feb 2018 16:36:14 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 0MNE-Ds-YlRI; Mon, 5 Feb 2018 16:36:13 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 95CD7160156; Mon, 5 Feb 2018 16:36:13 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ApzDvqHt4fLP; Mon, 5 Feb 2018 16:36:13 -0800 (PST) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 78527160076; Mon, 5 Feb 2018 16:36:13 -0800 (PST) In-Reply-To: Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:142956 Archived-At: On 02/05/2018 04:26 PM, Philipp Stephani wrote: > It succeeds and prints nothing (i.e. the error is ENOTDIR in all cases). > So this is even more mysterious than I thought. Very strange. I installed the workaround into Emacs master, so at least the symptoms should be fixed now. But I don't know why the fix worked, and this doesn't inspire warm feelings. The Gnulib manual says that macOS faccessat (..., "FILE/", ...) incorrectly succeeds when FILE is a regular file, and Gnulib has code to work around that bug that should be in effect for Emacs. However, the Gnulib manual doesn't say that faccessat (..., "FILE/.", ...) incorrectly succeeds in this situation, nor that faccessat (..., "FILE/./", ...) does the right thing; and the test program I gave you didn't illustrate any bugs in this area so I'm not sure what's going on. It may require digging around in the FreeBSD source code to puzzle this one out, assuming FreeBSD has the same bug that macOS does.