httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: [PATCH] Add back -X functionality
Date Thu, 21 Jun 2001 22:39:45 GMT
Aaron Bannert wrote:
> p.s. why would "!!" fix bugs on some platforms if ap_exists_config_define
> can only return 0 or 1? I can only see using !! to normalize some non-bool
> return to 0/1 for some weird logic, and even then it's not readable.

As I was responsible for !!, I guess I should explain. The original
version was flag=!!getenv("SOMETHING").

I agree it isn't totally readable, and asked permission before including
it.

Without checking the code it looks to be redundant.

Cheers,

Ben.

--
http://www.apache-ssl.org/ben.html

In Boston 'til 1st July.

Mime
View raw message