From: Tilman Sauerbeck Date: Sat, 19 Aug 2006 13:29:24 GMT Subject: Re: [PATCH] Added support for dropping privileges to git-daemon. Message-ID: <20060819132922.GA6644@code-monkey.de> In-Reply-To: Marco Costalba [2006-08-19 15:23]: > > > >+ if (!user ^ !group) > >+ die("either set both user and group or none of them"); > >+ > > > > Just a question. Why simply not > > if (user ^ group) Because gcc doesn't like that: error: invalid operands to binary ^ Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?