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:

>> 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.
>
> Is there an existing check already?

Not that I know of, but it would be easy to add.

> If not I think it is best to just take the
> performance hit and always stat the file. Would that be ok?

No opinion.  If the performance hit is only when a --plugin option is
used, it doesn't seem too important.

Ian


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