[patch] Fix the plugin search in some file systems

Ian Lance Taylor iant@google.com
Fri Jun 5 14:33:00 GMT 2009


Rafael Espindola <espindola@google.com> writes:

> Török reported that not all file systems support the d_type field in
> "struct dirent". Reiserfs for example always returns DT_UNKNOWN.

Some operating systems do not provide a d_type field at all.  The
binutils should be highly portable.  You should only check the d_type
field if a configure check shows that it is present.

Ian



More information about the Binutils mailing list