Re: [uclibc-ng-devel] PATCH] Fix ntfw when called with FTW_CHDIR and FTW_DEPTH to change directory back to the parent before processing the directory (after the contents have already been processed).

2016-10-18 Thread Ata, John (US)
Hi Waldemar, I'm enclosing a testcase. When run from an unpatched uclibc-ng system, we see: Processing f2 in working dir /tmp/stest_dir/d1 Processing d1 in working dir /tmp/stest_dir/d1 Oops...relative path does not exist in current directory: No such file or directory Processing f1 in working

Re: [uclibc-ng-devel] PATCH] Fix ntfw when called with FTW_CHDIR and FTW_DEPTH to change directory back to the parent before processing the directory (after the contents have already been processed).

2016-10-18 Thread Waldemar Brodkorb
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 > whil