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



On Jun 5, 2009, at 1:28 PM, Rafael Espindola wrote:


Hi,

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

The attached patch adds a stat if d_type is DT_UNKNOWN or DT_LNK. This
fixes the plugin search on file systems that don't support d_type and
also avoids getting confused with symbolic links to directories.

Attached patch ?-)



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