Commit 25bd0aaf20463fd9d00d882d39cb1cfec4aa6917

Carlos Martín Nieto 2015-06-15T13:28:08

path: remove unnecessary readdir_r usage Arguably all uses of readdir_r are unnecessary, but in this case especially so, as the directory handle only exists within this function, so we don't race with anybody.