Subject: bug#48471: 28.0.50; Incorrect handling of `project-ignores' on macOS (BSD find?) if project root is a directory name

From: Paul Eggert <[email-masked]>
Date: Sat, 9 Oct 2021 15:14:54 -0700

On 10/9/21 2:53 PM, Dmitry Gutov wrote:
> Hi Paul,
> 
> Hi Philipp,
> 
> On 30.05.2021 19:27, Paul Eggert wrote:
>> On 5/29/21 11:31 PM, Eli Zaretskii wrote:
>>> It's in Posix, but I'm not sure how portable it is in practice.  Paul,
>>> Andreas, do you happen to know?
>>
>> Although 'find -H' was not in 7th edition Unix, it was added 
>> reasonably soon after that and it should be in all currently-supported 
>> POSIXish platforms.
> 
> Any chance we could say the same about '-printf'?
> 
> It would help speed up our default 'project-files' implementation by 
> about 10%.

Unfortunately not. find -printf is not standardized by POSIX and is 
missing on (for example) Solaris 10.

Perhaps you could do a quick test of whether 'find -printf' works, and 
use -printf only if it works.