This is the mail archive of the binutils@sources.redhat.com 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] Re: [Mingw-users] binutils 20040120-1 & VC6 .lib incompatibility?


On 04.02.2004 15:50:35 EST "Eric Youngdale" wrote:
>
>                   pnt = strrchr (is3->the_bfd->filename, '.');
>!                  if (pnt != NULL && strcmp (pnt, ".dll") != 0)
>!                    continue;

You compare the file extention to ".dll". What about dlls which are
named differently?
I think there is a field in the PE structure which distinuishes exes
and dlls. Probably it would be better to check this field.

Just my 2 cents...

chris


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