registry: Implement recursive deletes for dir-backed registry.
authorAndrew Kroeger <andrew@sprocks.gotdns.com>
Sat, 16 Feb 2008 21:15:50 +0000 (15:15 -0600)
committerAndrew Kroeger <andrew@sprocks.gotdns.com>
Wed, 27 Feb 2008 01:27:14 +0000 (19:27 -0600)
commit6b5fbf7e4e38342bcd80e63f46cd295f89ab1ee9
tree28a7ef4e6e828c9136a77c801d4cb403a94623f4
parentca796c8fb10598674a5eef31d15863e79bcf3db8
registry: Implement recursive deletes for dir-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 dir-backed registry consistent with Windows.

The dir-backed registry relies on the underlying filesystem, which does not
generally have transactional integrity when performing multiple operations.
Therefore, if an error occurs during the recursive deletion, the dir-backed
registry may be left in an inconsistent state.
source/lib/registry/dir.c