return NULL;
}
- existed = file_exists(path);
+ existed = file_exist(path);
ldb = ldb_wrap_connect(mem_ctx, path, system_session(mem_ctx),
NULL, LDB_FLG_NOSYNC, NULL);
return True;
}
-/**
- see if a file exists
-*/
-_PUBLIC_ BOOL file_exists(const char *path)
-{
- struct stat st;
- return (stat(path, &st) == 0);
-}
-
_PUBLIC_ int vfdprintf(int fd, const char *format, va_list ap) _PRINTF_ATTRIBUTE(2,0)
{
char *p;
return NULL;
}
- existed = file_exists(path);
+ existed = file_exist(path);
/* Secrets.ldb *must* always be local. If we call for a
* system_session() we will recurse */