This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix the plugin search in some file systems


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]