[Issue 1635] DirEntry.isfile() and DirEntry.isdir() broken

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 7 03:59:46 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=1635





------- Comment #4 from lutger.blijdestijn at gmail.com  2008-10-07 05:59 -------
Same problem here. The readdir docs say that the dirent.d_type field is a bsd
extension, not part of the posix standard. The standalone isdir() and isfile()
functions use stat, so they are fine (but more costly.)

This also breaks DirEntries in 2.0 and functions depending on it.










-- 



More information about the Digitalmars-d-bugs mailing list