git.samba.org
/
ambi
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9f7653b
)
registry: add comments to removing lists in regdb_store_keys().
author
Michael Adam
<obnox@samba.org>
Thu, 8 May 2008 16:05:58 +0000
(18:05 +0200)
committer
Michael Adam
<obnox@samba.org>
Thu, 8 May 2008 16:29:10 +0000
(18:29 +0200)
Michael
(This used to be commit
3e89217e7edea5d7ec707de065d38b1921ed09af
)
source3/registry/reg_backend_db.c
patch
|
blob
|
history
diff --git
a/source3/registry/reg_backend_db.c
b/source3/registry/reg_backend_db.c
index c0ee8017c143320aaf6e047b29b21e225900ec9f..8de10a0b1f4246472207bf3a101ae7e9aca6fa98 100644
(file)
--- a/
source3/registry/reg_backend_db.c
+++ b/
source3/registry/reg_backend_db.c
@@
-671,6
+671,8
@@
bool regdb_store_keys(const char *key, REGSUBKEY_CTR *ctr)
continue;
}
+ /* (a) Delete the value list for this key */
+
path = talloc_asprintf(ctx, "%s/%s/%s",
REG_VALUE_PREFIX,
key,
@@
-686,6
+688,8
@@
bool regdb_store_keys(const char *key, REGSUBKEY_CTR *ctr)
dbwrap_delete_bystring(regdb, path);
TALLOC_FREE(path);
+ /* (c) Delete the list of subkeys of this key */
+
path = talloc_asprintf(ctx, "%s/%s", key, oldkeyname);
if (!path) {
goto cancel;