httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodent of Unusual Size <Ken.C...@Golux.Com>
Subject Re: [PATCH] addition of suexec umask setting
Date Tue, 11 Jan 2000 16:06:05 GMT
Greg Stein wrote:
> 
>   if ((SUEXEC_UMASK & 0022) != 0022) {
> 
> That should work better...

Argh..

How about

    if ((~SUEXEC_UMASK) & 0022) {

I'd rather invert the logic before doing the test, rather than
testing with inverted logic. :-)
-- 
#ken    P-)}

Ken Coar                    <http://Golux.Com/coar/>
Apache Software Foundation  <http://www.apache.org/>
"Apache Server for Dummies" <http://Apache-Server.Com/>

Come to the first official Apache Software Foundation
Conference!  <http://ApacheCon.Com/>

Mime
View raw message