Some cross-checking with Osicat (which works fine) seems to indicate that the DIRENT struct definition is correct and the problem lies with readdir(). Calling readdir$INODE64() instead seems to fix the problem.
Some cross-checking with Osicat (which works fine) seems to indicate that the DIRENT struct definition is correct and the problem lies with readdir(). Calling readdir$INODE64() instead seems to fix the problem.