[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-923-g1e07368

Volker Lendecke vl at samba.org
Thu Dec 27 23:09:26 GMT 2007


The branch, v3-2-test has been updated
       via  1e07368b5f96e4ada622682e38d260eb0c6185f2 (commit)
      from  ef75dcc9ffda85d77c8f22d0db702efbf8e642ed (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 1e07368b5f96e4ada622682e38d260eb0c6185f2
Author: Volker Lendecke <vl at samba.org>
Date:   Fri Dec 28 00:12:14 2007 +0100

    Fix the non-gcc branch of "likely"

-----------------------------------------------------------------------

Summary of changes:
 source/include/debug.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/include/debug.h b/source/include/debug.h
index 41d1c82..284671c 100644
--- a/source/include/debug.h
+++ b/source/include/debug.h
@@ -172,8 +172,8 @@ extern bool *DEBUGLEVEL_CLASS_ISSET;
 #define likely(x)   __builtin_expect(!!(x), 1)
 #define unlikely(x) __builtin_expect(!!(x), 0)
 #else
-#define likely(x) x
-#define unlikely(x) x
+#define likely(x) (x)
+#define unlikely(x) (x)
 #endif
 
 #define DEBUGLVL( level ) \


-- 
Samba Shared Repository


More information about the samba-cvs mailing list