[SCM] Samba Shared Repository - branch v3-2-test updated

Stefan Metzmacher metze at samba.org
Fri Oct 12 08:07:02 GMT 2007


The branch, v3-2-test has been updated
       via  4f084efd6ac39a8347d5cfc73b727940e40150cf (commit)
      from  12c0b1d82802ccd1b272a8b47ddb7d258e10477c (commit)

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

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4f084efd6ac39a8347d5cfc73b727940e40150cf
Author: Stefan Metzmacher <metze at samba.org>
Date:   Fri Oct 12 10:06:27 2007 +0200

    offsetof() is always present as shown in some
    libreplace testing.
    
    metze

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

Summary of changes:
 source/lib/tdb/common/tdb_private.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/lib/tdb/common/tdb_private.h b/source/lib/tdb/common/tdb_private.h
index 032b0ca..d2f2c23 100644
--- a/source/lib/tdb/common/tdb_private.h
+++ b/source/lib/tdb/common/tdb_private.h
@@ -37,10 +37,6 @@
 typedef uint32_t tdb_len_t;
 typedef uint32_t tdb_off_t;
 
-#ifndef offsetof
-#define offsetof(t,f) ((unsigned int)&((t *)0)->f)
-#endif
-
 #define TDB_MAGIC_FOOD "TDB file\n"
 #define TDB_VERSION (0x26011967 + 6)
 #define TDB_MAGIC (0x26011999U)


-- 
Samba Shared Repository


More information about the samba-cvs mailing list