update dirent with non-standard function getdirentries()

git-svn-id: http://redtamarin.googlecode.com/svn/trunk@1467 7706bf9e-9b31-0410-a4d0-35bcb8a95c49