On Wed, 2006-05-10 at 13:43 +0000, Chris Wilson wrote: > What's wrong with stat()? Apart from just being slow? That's an extra syscall for every file... > d_type is not in the POSIX standard so we > shouldn't really use it for portable code (IMHO). That's what configure is for. Support the lowest common denominator, but also don't cripple everyone else. Cheers, Martin.