summaryrefslogtreecommitdiff
path: root/source4/lib/registry/hive.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-12-29 16:45:23 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-12-29 16:45:23 +0100
commitaf1b7f55756b5957e0f4c9e30bfcb6baa0ecaadb (patch)
treea57a5c474014a60ebb593f021c0fec6b4a87b875 /source4/lib/registry/hive.c
parentc76ffcf3c4e6e46a8ca62b355efc90ff3bf48d2d (diff)
downloadsamba-af1b7f55756b5957e0f4c9e30bfcb6baa0ecaadb.tar.gz
samba-af1b7f55756b5957e0f4c9e30bfcb6baa0ecaadb.tar.bz2
samba-af1b7f55756b5957e0f4c9e30bfcb6baa0ecaadb.zip
Remove the 'dir' registry backend.
This backend was incomplete, and we already have plenty of other backends.
Diffstat (limited to 'source4/lib/registry/hive.c')
-rw-r--r--source4/lib/registry/hive.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source4/lib/registry/hive.c b/source4/lib/registry/hive.c
index 5763dff0d2..dc38fc8215 100644
--- a/source4/lib/registry/hive.c
+++ b/source4/lib/registry/hive.c
@@ -35,11 +35,6 @@ _PUBLIC_ WERROR reg_open_hive(TALLOC_CTX *parent_ctx, const char *location,
int fd, num;
char peek[20];
- /* Check for directory */
- if (directory_exist(location)) {
- return reg_open_directory(parent_ctx, location, root);
- }
-
fd = open(location, O_RDWR);
if (fd == -1) {
if (errno == ENOENT)