GNU bug report logs - #31305
27.0.50; Symlinks recognized as dirs on macOS <10.9

Previous Next

Package: emacs;

Reported by: Jimmy Yuen Ho Wong <wyuenho <at> gmail.com>

Date: Sat, 28 Apr 2018 20:45:02 UTC

Severity: minor

Tags: wontfix

Found in versions 26.1, 27.0.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #24 received at 31305 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Alan Third <alan <at> idiocy.org>
Cc: 31305 <at> debbugs.gnu.org, david+emacsformacosx <at> porkrind.org,
 Noam Postavsky <npostavs <at> gmail.com>, Jimmy Yuen Ho Wong <wyuenho <at> gmail.com>
Subject: Re: bug#31305: 27.0.50; Symlinks recognized as dirs
Date: Wed, 16 May 2018 11:37:05 -0700
> I guess that means either Paul’s fix doesn’t work on macOS 10.9, or
> David needs to update something in his build tree.


Possibly the Gnulib workaround for the macOS faccessat bug does not work 
in older macOS versions. For example, the Gnulib workaround calls the 
function 'access' on platforms lacking faccessat, and faccessat is 
missing and 'access ("foo/", F_OK)' ignores the trailing slash in older 
macOS versions, then that could explain the problem.

Suppose my guess is right. Then, if this problem occurs because the 
emacsformacosx.com build is for OS X 10.9 or earlier, then a simple fix 
is to have emacsformacosx.com build for OS X 10.10 or later, because 
Emacs can't reasonably support OS versions that Apple itself does not 
support <https://lists.gnu.org/r/emacs-devel/2018-03/msg00798.html>. On 
the other hand, if the problem occurs on OS X 10.10 or later, then 
someone should hack on the Gnulib workaround so as to port the 
workaround to OS X 10.10. I can volunteer to do the hacking in my spare 
time, but I don't have easy access to OS X 10.10 so someone else would 
need to test it.





This bug report was last modified 5 years and 325 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.