From af1b7f55756b5957e0f4c9e30bfcb6baa0ecaadb Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 29 Dec 2011 16:45:23 +0100 Subject: Remove the 'dir' registry backend. This backend was incomplete, and we already have plenty of other backends. --- source4/lib/registry/hive.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source4/lib/registry/hive.c') 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) -- cgit