[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Sat Feb 13 04:19:36 MST 2010


The branch, master has been updated
       via  6824c6f... tdb: Apply some const, just for clarity
      from  9252df5... Use sec_initial_uid() in the places where being root doesn't matter, and 0 in the places where it does.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 6824c6f46ba7c15e8af91d5aa8b21a946b63107b
Author: Volker Lendecke <vl at samba.org>
Date:   Sat Feb 13 12:17:00 2010 +0100

    tdb: Apply some const, just for clarity

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

Summary of changes:
 lib/tdb/common/transaction.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/tdb/common/transaction.c b/lib/tdb/common/transaction.c
index 67104ef..ccb4d95 100644
--- a/lib/tdb/common/transaction.c
+++ b/lib/tdb/common/transaction.c
@@ -596,7 +596,7 @@ int _tdb_transaction_cancel(struct tdb_context *tdb)
 
 	if (tdb->transaction->magic_offset) {
 		const struct tdb_methods *methods = tdb->transaction->io_methods;
-		uint32_t invalid = TDB_RECOVERY_INVALID_MAGIC;
+		const uint32_t invalid = TDB_RECOVERY_INVALID_MAGIC;
 
 		/* remove the recovery marker */
 		if (methods->tdb_write(tdb, tdb->transaction->magic_offset, &invalid, 4) == -1 ||


-- 
Samba Shared Repository


More information about the samba-cvs mailing list