Closed avsa242 closed 2 years ago
The reason is in the logic for checking if the dirent is a deleted entry, it immediately directs the repeat loop to the next
iteration, but doesn't advance the dirent #, so it never gets past the first deleted file.
The dirent # is 1 every iteration except the first, which is 0. It doesn't seem to find the file at dirent 2 even though it's there.