bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30350: Build breakage of master on MacOS 10.13


From: Philipp Stephani
Subject: bug#30350: Build breakage of master on MacOS 10.13
Date: Tue, 06 Feb 2018 21:29:40 +0000



Mikhail Gusarov <address@hidden> schrieb am Di., 6. Feb. 2018 um 22:26 Uhr:
Hi John,

On Tue, 6 Feb 2018, at 18:40, John Wiegley wrote:

> Mikhail, are you saying that "/bin/zsh", where /bin/zsh is a file, should
> report as a directory on OS X? I think I've misunderstood your comment.

I'm saying that on OS X stat'ing /bin/zsh and /bin/zsh/ (or /bin/zsh/.) gives different results:

% stat /bin/zsh
16777220 721698 -rwxr-xr-x 1 root wheel 0 610288 "Feb  6 22:24:24 2018" "Sep 21 06:35:23 2017" "Nov  6 13:34:29 2017" "Sep 21 06:35:23 2017" 4194304 808 0x80020 /bin/zsh
% stat /bin/zsh/.
stat: /bin/zsh/.: stat: Not a directory
% stat /bin/zsh/
stat: /bin/zsh/: stat: Not a directory
%

That's the behavior required by POSIX, and Linux behaves in exactly the same way, so it's not something where we'd need to special-case macOS. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]