In Command.cc, line 656 the following code is found:

         if (dlen == 1 && d_name[0] == '.')   continue;
         if (dlen == 2 && d_name[0] == '.'
                       && d_name[1] == '.')   continue;

The references to d_name should be *entry->d_name*.

Also, I stumbled across this one on OSX, which does have d_type.

There seems to be an autoconf macro for this called AC_STRUCT_DIRENT_D_TYPE.
Perhaps it could be used?

Regards,
Elias

Reply via email to