> readdir(dd) returns dirent struct with d_namlen field always set to 0 > and d_type set to what should in d_namlen. > Most likely libc wasn't compiled with the new <sys/dirent.h> in place (check readdir.o) -pk ------------------------------------------------------------------------------