[Box Backup-dev] COMMIT r759 - box/chris/general/bin/bbackupd

Chris Wilson boxbackup-dev at fluffy.co.uk
Thu Aug 10 02:19:54 BST 2006


Hi Martin,

On Thu, 10 Aug 2006, Martin Ebourne wrote:

> MSVC is correct here.
>
> ! is higher precedence than &, and ! is of course the logical not
> operator rather than the bitwise not operator.
>
>    if (~st.st_mode & S_IFREG)
> would have worked too, but what you have is probably clearer.

Thanks for the lesson :-) OK to merge? (after the other patches to 
Win32ServiceFunctions.cpp)

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |




More information about the Boxbackup-dev mailing list