[llvm-commits] [llvm] r72773 - /llvm/trunk/docs/GoldPlugin.html

Rafael Espindola espindola at google.com
Thu Jun 4 02:36:23 PDT 2009


> plugin.c does this:
> if (ent->d_type != DT_REG && ent->d_type != DT_LNK)
>    continue;
>
> I am using reiserfs for my /home, and IIRC it doesn't implement the
> d_type field and return DT_UNKNOWN for all files.
> If you get DT_UNKNOWN you should lstat(), and check the result.

Can you please try the attached patch?

> Best regards,
> --Edwin
>


Cheers,
-- 
Rafael Avila de Espindola

Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stat.patch
Type: text/x-patch
Size: 781 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090604/7618760e/attachment.bin>


More information about the llvm-commits mailing list