svn commit: samba r9378 - in
branches/SAMBA_4_0/source/lib/registry: .
tridge at samba.org
tridge at samba.org
Thu Aug 18 06:14:10 GMT 2005
Author: tridge
Date: 2005-08-18 06:14:10 +0000 (Thu, 18 Aug 2005)
New Revision: 9378
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9378
Log:
initialise the last_mod attribute in the ldb backend. Better to return
0 than an uninitialised value, but we should put proper last_modified
time support into the ldb winreg backend in the future
Modified:
branches/SAMBA_4_0/source/lib/registry/reg_backend_ldb.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/registry/reg_backend_ldb.c
===================================================================
--- branches/SAMBA_4_0/source/lib/registry/reg_backend_ldb.c 2005-08-18 05:09:26 UTC (rev 9377)
+++ branches/SAMBA_4_0/source/lib/registry/reg_backend_ldb.c 2005-08-18 06:14:10 UTC (rev 9378)
@@ -170,6 +170,8 @@
talloc_set_destructor(*subkey, reg_close_ldb_key);
(*subkey)->name = talloc_strdup(mem_ctx, el->values[0].data);
(*subkey)->backend_data = newkd = talloc_zero(*subkey, struct ldb_key_data);
+ (*subkey)->last_mod = 0; /* TODO: we need to add this to the
+ ldb backend properly */
newkd->dn = talloc_strdup(mem_ctx, kd->subkeys[idx]->dn);
return WERR_OK;
More information about the samba-cvs
mailing list