httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: [PATCH] convert mod_mem_cache's locks to new APR locks
Date Tue, 20 Nov 2001 12:13:04 GMT
Aaron Bannert <aaron@clove.org> writes:

> On Sat, Nov 17, 2001 at 03:51:10PM -0500, Jeff Trawick wrote:
> > > +#include <apr_thread_mutex.h>
> > 
> > just curious... why angle brackets instead of quotes?  practically all
> > includes of apr_foo.h in apache and apr-util use quotes
> 
> I never really understood why we're using the #include "" syntax for
> APR includes, when APR is considered an external support library. Paths
> to those includes have to be specified in the -I/path option anyway,
> no? Any particular reason to use quotes instead?

I can't think of a reason in 2001.  I used to use a compiler that was
very picky about the distinction between "" and <>.  It would only
look in the compiler installation directories for <> files, but it
would look in the user-specified search path for "" files.  Thus, I
get nervous when I see non-system-supplied includes in <>.  But it has
been some years since I have encountered such a problem, so that
doesn't seem like a reason to stick with "".

Consistency, on the other hand, ... :)

-- 
Jeff Trawick | trawick@attglobal.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message