Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [Bug] Strange Globing Behaviour when used with sudo



On Wed, 30 May 2018 22:49:32 +0200
Bengt Brodersen <bengt.brodersen@xxxxxxxxx> wrote:
> Just found a paragraph in stat(2) manpage on macos

If I've read this correctly, it sounds like it's worth trying to

#define _DARWIN_NO_64_BIT_INODE

in the zsh configuration just to see what happens (and then "make
clean" and "make").  This should have one of two effects (i) ino_t
becomes 32 bits, which works around (but does not properly fix) the
problem (ii) the compilation will fail because 32-bit sizes aren't
available in that configuration, which doesn't confirm this is
necessarily a problem but might be a hint.

If it is the issue, it's going to take some detective work by someone on
MacOS as grepping the code doesn't reveal an obviously missing use of
ino_t in the zsh code --- worth checking if ino_t is actually
correctly typedef'd.

If that's not the issue, then back to the drawing board.

pws



Messages sorted by: Reverse Date, Date, Thread, Author