(Fwd) Re: Absolute paths in BFD

Philippe De Muyter phdm@macqel.be
Wed May 3 19:17:00 GMT 2000


Alan Modra wrote :
> > I beg to disagree.  Strictly speaking, a:zzz is neither absolute nor
> > relative.  However, the purpose for which IS_ABSOLUTE was introduced
> > is to DTRT in code which prepends a directory name to file names which
> 
> Please add a comment in filename.h describing the purpose of IS_ABSOLUTE.
> I stand by my assertion that a:zzz is not an absolute file name, but quite
> accept that checking for a slash would be wrong, given the way IS_ABSOLUTE
> is used.

Why not change IS_ABSOLUTE into something else, like
OK_TO_PREPEND_DIRECTORY_NAME or NEED_PREPENDED_DIRECTORY_NAME ?

Philippe


More information about the Binutils mailing list