httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: [PATCH] addition of suexec umask setting
Date Tue, 11 Jan 2000 17:37:36 GMT
On Tue, 11 Jan 2000, Rodent of Unusual Size wrote:
> 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. :-)

hehe... works for me! :-)

+1

-- 
Greg Stein, http://www.lyra.org/


Mime
View raw message