This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: (Fwd) Re: Absolute paths in BFD
- To: alan at linuxcare dot com dot au (Alan Modra)
- Subject: Re: (Fwd) Re: Absolute paths in BFD
- From: "Philippe De Muyter" <phdm at macqel dot be>
- Date: Thu, 4 May 2000 03:27:49 +0200 (CEST)
- Cc: eliz at is dot elta dot co dot il, binutils at sourceware dot cygnus dot com, snowball3 at bigfoot dot com
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