Re: [PATCH] Added support for dropping privileges to git-daemon.
- From
- Tilman Sauerbeck <tilman@code-monkey.de>
- Date
- Aug 19, 2006, 13:29 UTC
- Message-ID
- <20060819132922.GA6644@code-monkey.de>
- In-Reply-To
- <e5bfff550608190623j58de8c1cn6a9304249ee1ecb8@mail.gmail.com>
Marco Costalba [2006-08-19 15:23]:
Show 9 quoted lines
> >
> >+ 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?