Subject: Re: ufs includes in src/tools/compat
To: Ben Harris <email@example.com>
From: Luke Mewburn <firstname.lastname@example.org>
Date: 05/08/2003 21:24:15
[fixed cc; sorry about that on the last post]
On Thu, May 08, 2003 at 12:19:50PM +0100, Ben Harris wrote:
| On Thu, 8 May 2003, Luke Mewburn wrote:
| > On Thu, May 08, 2003 at 12:05:16PM +0100, Ben Harris wrote:
| > | >Does this work for objdirs which are done with MAKEOBJDIRPREFIX or
| > | >MAKEOBJDIR (instead of symlinks or local builds)?
| > |
| > | Since #include "..." works relative to the including file first, I don't
| > | think there'll be any problem.
| > Is that behaviour standardized?
| Yup. POSIX-2001 says:
| # Thus, headers whose names are enclosed in double-quotes ( "" ) shall be
| # searched for first in the directory of the file with the #include line,
| # then in directories named in -I options, and last in the usual places.
| POSIX.2-1992 has the same wording in respect of c89 (p689, ll68-72 in the
| ISO/IEC/IEEE edition).
Then I have no objections to Darrin's proposal then.