Re: git: cb96a0ef0040 - main - cp: Minor code cleanup.

From: Dag-Erling_Smørgrav <des_at_FreeBSD.org>
Date: Fri, 03 Feb 2023 16:16:54 UTC
Kyle Evans <kevans@freebsd.org> writes:
> fts_read() doesn't always set errno to 0; notably, there's a number of
> FCHDIR() paths that don't set errno (and the change that added it
> mentions that scenario exactly) and will return NULL because of an
> error.

The man page says it does, and as far as I can tell from the code it
does.  Can you please provide a test case?

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org