am 9e783963: Merge "Clean up the implementation of the <dirent.h> functions."

* commit '9e783963d58acf48e06902236ea64c7f5b337a0f':
  Clean up the implementation of the <dirent.h> functions.