return true;
}
+#ifndef ENSC_TESTSUITE
static bool
addStatHash(hashFunctionContext *h_ctx, struct stat const * const st)
{
SET_ATTR(mtime)
};
+#undef SET_ATTR
+#undef DECL_ATTR
+
+
return hashFunctionContextUpdate(h_ctx, (void *)&tmp, sizeof tmp)!=-1;
}
-
+#else
+static bool
+addStatHash(hashFunctionContext UNUSED *h_ctx, struct stat const UNUSED * const st)
+{
+ return true;
+}
+#endif
+
static bool
calculateHashFromFD(int fd, HashPath d_path, struct stat const * const st)
{
freeHashList(&global_info.hash_dirs);
hashFunctionContextFree(&global_info.hash_context);
#endif
+
+ return EXIT_SUCCESS;
}