This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
RE: [PATCH] Re: [Mingw-users] binutils 20040120-1 & VC6 .lib incompatibility?
- From: Christian Groessler <chris at groessler dot org>
- To: binutils at sources dot redhat dot com
- Cc: chris at groessler dot org
- Date: 05 Feb 2004 11:46:30 +0100
- Subject: 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