git.samba.org
/
ddiss
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove the 'dir' registry backend.
[ddiss/samba.git]
/
source4
/
lib
/
registry
/
hive.c
diff --git
a/source4/lib/registry/hive.c
b/source4/lib/registry/hive.c
index 5763dff0d2d86735ac9789efb4102683fb8fb07d..dc38fc82152f17fe93c4d75e8c9d13a8e16f08db 100644
(file)
--- 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)