Hi John,
Ata, John  (US) wrote,

> Hi all,
> In using ftw/nftw, I’ve discovered a bug when using FTW_CHDIR and FTW_DEPTH.  
> After changing the working directory to a subdirectory, nftw would process the
> contents fine.  However, it would then try and process the directory itself
> while still in that directory and then switch back to the parent.  This would
> result in an error (ENOENT).  This patch will change working directories to 
> the
> parent before processing the directory itself.

Thanks for the report.
Are you able to provide a small test-case showing the issue?

best regards
devel mailing list

Reply via email to