This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: Import include/filenames.h from BFD (Windows/DJGPP testersneeded)


Andris Pavenis <pavenis@latnet.lv> writes:

> On Monday 30 June 2003 22:18, Zack Weinberg wrote:
>> This patch brings over include/filenames.h from BFD and changes all
>> the apposite locations to use it.  I have bootstrapped it on
>> i686-linux with no problem, but I need help testing it on Windows
>> and/or DJGPP hosts.
>
> One more related thing:
>
> libiberty/make-relative-prefix.c uses case sensitive comparisson for 
> filenames. In thee case we should (fMSDOS, Windows) use strcasecmp()
> instead of strcmp(). strcasecmp() is already present in libiberty, so it 
> should not be a problem. Perhaps it could be done by some macro
> with the defaulting to strcmp().

filenames.h defines FILENAME_CMP which does precisely this.  Wanna
submit a patch, once I get this one laid down?

zw


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