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#31305: 27.0.50; Symlinks recognized as dirs Date: Wed, 16 May 2018 11:37:05 -0700 Organization: UCLA Computer Science Department Message-ID: <04652e21-22e5-3163-dc5a-fcd34224b4f8@cs.ucla.edu> References: <11a76553-a474-d861-efcd-997eab2823b9@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1526495773 3129 195.159.176.226 (16 May 2018 18:36:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 16 May 2018 18:36:13 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 Cc: 31305@debbugs.gnu.org, david+emacsformacosx@porkrind.org, Noam Postavsky , Jimmy Yuen Ho Wong To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 16 20:36:08 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 1fJ1HR-0000eM-SB for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 May 2018 20:36:05 +0200 Original-Received: from localhost ([::1]:33545 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJ1JY-0005ec-KO for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 May 2018 14:38:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJ1JO-0005dn-H2 for bug-gnu-emacs@gnu.org; Wed, 16 May 2018 14:38:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJ1JK-000383-Fy for bug-gnu-emacs@gnu.org; Wed, 16 May 2018 14:38:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57944) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fJ1JK-00037n-Cv for bug-gnu-emacs@gnu.org; Wed, 16 May 2018 14:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fJ1JJ-0004DW-UK for bug-gnu-emacs@gnu.org; Wed, 16 May 2018 14:38:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <11a76553-a474-d861-efcd-997eab2823b9@gmail.com> Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 May 2018 18:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31305 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31305-submit@debbugs.gnu.org id=B31305.152649583716156 (code B ref 31305); Wed, 16 May 2018 18:38:01 +0000 Original-Received: (at 31305) by debbugs.gnu.org; 16 May 2018 18:37:17 +0000 Original-Received: from localhost ([127.0.0.1]:37608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJ1Ib-0004CU-KS for submit@debbugs.gnu.org; Wed, 16 May 2018 14:37:17 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:46072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJ1IW-0004CF-T6 for 31305@debbugs.gnu.org; Wed, 16 May 2018 14:37:16 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 0BAC81600CC; Wed, 16 May 2018 11:37:07 -0700 (PDT) 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 t66lE0AEtcoy; Wed, 16 May 2018 11:37:06 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 058A4160104; Wed, 16 May 2018 11:37:06 -0700 (PDT) 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 HXXLCcuz9qGk; Wed, 16 May 2018 11:37:05 -0700 (PDT) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id DAC751600CC; Wed, 16 May 2018 11:37:05 -0700 (PDT) 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:146224 Archived-At: > I guess that means either Paul=E2=80=99s fix doesn=E2=80=99t work on ma= cOS 10.9, or > David needs to update something in his build tree. Possibly the Gnulib workaround for the macOS faccessat bug does not work=20 in older macOS versions. For example, the Gnulib workaround calls the=20 function 'access' on platforms lacking faccessat, and faccessat is=20 missing and 'access ("foo/", F_OK)' ignores the trailing slash in older=20 macOS versions, then that could explain the problem. Suppose my guess is right. Then, if this problem occurs because the=20 emacsformacosx.com build is for OS X 10.9 or earlier, then a simple fix=20 is to have emacsformacosx.com build for OS X 10.10 or later, because=20 Emacs can't reasonably support OS versions that Apple itself does not=20 support . On=20 the other hand, if the problem occurs on OS X 10.10 or later, then=20 someone should hack on the Gnulib workaround so as to port the=20 workaround to OS X 10.10. I can volunteer to do the hacking in my spare=20 time, but I don't have easy access to OS X 10.10 so someone else would=20 need to test it.