This is the mail archive of the binutils@sourceware.cygnus.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]

Re: Absolute paths in BFD


> I've noticed quite a few instances in BFD where absolute paths are
> tested by expecting the first character to be '/' (grep for "== '/'" to
> see how often this is done).  This test breaks under cygwin when drive
> letters are used as part of a pathname.
> 
> There should probably be a bfd function for absolute path-ness, and that
> called instead of explicitly doing the leading slash test.
> 

A few months ago someone posted a series of patches to handle this very 
problem.  See:

http://sourceware.cygnus.com/ml/binutils/1999-q3/msg00584.html
http://sourceware.cygnus.com/ml/binutils/1999-q3/msg00585.html
http://sourceware.cygnus.com/ml/binutils/1999-q3/msg00586.html
http://sourceware.cygnus.com/ml/binutils/1999-q3/msg00587.html
http://sourceware.cygnus.com/ml/binutils/1999-q3/msg00588.html
http://sourceware.cygnus.com/ml/binutils/1999-q3/msg00589.html
http://sourceware.cygnus.com/ml/binutils/1999-q3/msg00590.html


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