Detecting EOF in previous getdents64(2) calls
- Adding an extra variable to detect if we were encountered EOF while reading directory entries in a previous call to getdents64(2)