diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-12-29 16:45:23 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-12-29 16:45:23 +0100 |
commit | af1b7f55756b5957e0f4c9e30bfcb6baa0ecaadb (patch) | |
tree | a57a5c474014a60ebb593f021c0fec6b4a87b875 /source4/lib/registry/hive.c | |
parent | c76ffcf3c4e6e46a8ca62b355efc90ff3bf48d2d (diff) | |
download | samba-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.c | 5 |
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) |