registry: Implement recursive deletes for regf-backed registry.
authorAndrew Kroeger <andrew@sprocks.gotdns.com>
Sat, 16 Feb 2008 21:19:00 +0000 (15:19 -0600)
committerAndrew Kroeger <andrew@sprocks.gotdns.com>
Wed, 27 Feb 2008 01:27:14 +0000 (19:27 -0600)
commit79eea32976d2991319c9d0ad32a150f34b029f99
tree0415ab3273f55cff504114a817403c14b2aa2110
parent2bbd319cafe64935682799240b9c0aa9ff4d7e7a
registry: Implement recursive deletes for regf-backed registry.

When deleting a registry key that contains subkeys or values, Windows performs a
recursive deletion that removes any subkeys or values.  This update makes
deletes for an regf-backed registry consistent with Windows.

The regf-backed registry does not have transactional integrity when performing
multiple operations.  Therefore, if an error occurs during the recursive
deletion, the regf-backed registry may be left in an inconsistent state.
(This used to be commit b0321bad290d1a9399b4aba140a622e3af6d7575)
source4/lib/registry/regf.c