httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: [PATCH] Fixes to setrlimit patch
Date Thu, 24 Aug 2000 19:14:13 GMT
Victor J. Orlikowski wrote:
> 
> Ok, then you do not want to check for existance, you want to check for
> equality. So, you need:
> 
> #if FOO == 1 && FOO2 == 1
> 
> rather than what either you or I had
> (Simply doing a #if BLAH && BLAH2 is incorrect, at least according to
> IBM's compilers.)
> 

Well, not according to ANSI. After all, the preprocessor evolves it
to

   #if 1

or

   #if 0

We use #if FOOBAR various places throughout the code if memory
serves me correctly (eg: main/mpm_common.c)
-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
                "Are you suggesting coconuts migrate??"

Mime
View raw message