Preferred way to recurse over a directory?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Preferred way to recurse over a directory?
- From: Albert Brox <albert@xxxxxxxxxxx>
- Date: Tue, 14 Sep 2021 23:26:22 -0400
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0
I'm working on PR #20239 loadcred-dir and wondering what the preferred
way to recurse over a directory is.
I was told recursively calling the `load_credential` function is too
racy so I'm led to ftw/nftw. However I see in the TODO file, "Get rid of
nftw(). We should refuse to use such useless APIs on principle." Can
anyone point me in the right direction?
Best
Albert
[Index of Archives]
[LARTC]
[Bugtraq]
[Yosemite Forum]
[Photo]