Fix build with fmt 9.0 (#433)
* Fix build with fmt 9.0 Co-authored-by: Sebastian Meßmer <smessmer@users.noreply.github.com>
This commit is contained in:
parent
31c831f984
commit
27515e0116
@ -2,6 +2,10 @@ Version 0.12.0 (unreleased)
|
||||
---------------
|
||||
* Updated to DokanY 1.3.0.1000
|
||||
|
||||
Version 0.11.3
|
||||
---------------
|
||||
* Fixed build issue on systems with libfmt 9.0 (see https://github.com/cryfs/cryfs/issues/432 )
|
||||
|
||||
Version 0.11.2
|
||||
---------------
|
||||
Bugfix:
|
||||
|
@ -603,21 +603,21 @@ int Fuse::mknod(const bf::path &path, ::mode_t mode, dev_t rdev) {
|
||||
UNUSED(mode);
|
||||
UNUSED(path);
|
||||
ThreadNameForDebugging _threadName("mknod");
|
||||
LOG(WARN, "Called non-implemented mknod({}, {}, _)", path, mode);
|
||||
LOG(WARN, "Called non-implemented mknod({}, {}, _)", path.string(), mode);
|
||||
return ENOSYS;
|
||||
}
|
||||
|
||||
int Fuse::mkdir(const bf::path &path, ::mode_t mode) {
|
||||
ThreadNameForDebugging _threadName("mkdir");
|
||||
#ifdef FSPP_LOG
|
||||
LOG(DEBUG, "mkdir({}, {})", path, mode);
|
||||
LOG(DEBUG, "mkdir({}, {})", path.string(), mode);
|
||||
#endif
|
||||
try {
|
||||
ASSERT(is_valid_fspp_path(path), "has to be an absolute path");
|
||||
// DokanY seems to call mkdir("/"). Ignore that
|
||||
if ("/" == path) {
|
||||
#ifdef FSPP_LOG
|
||||
LOG(DEBUG, "mkdir({}, {}): ignored", path, mode);
|
||||
LOG(DEBUG, "mkdir({}, {}): ignored", path.string(), mode);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
@ -766,7 +766,7 @@ int Fuse::rename(const bf::path &from, const bf::path &to) {
|
||||
//TODO
|
||||
int Fuse::link(const bf::path &from, const bf::path &to) {
|
||||
ThreadNameForDebugging _threadName("link");
|
||||
LOG(WARN, "NOT IMPLEMENTED: link({}, {})", from, to);
|
||||
LOG(WARN, "NOT IMPLEMENTED: link({}, {})", from.string(), to.string());
|
||||
//auto real_from = _impl->RootDir() / from;
|
||||
//auto real_to = _impl->RootDir() / to;
|
||||
//int retstat = ::link(real_from.string().c_str(), real_to.string().c_str());
|
||||
|
Loading…
Reference in New Issue
Block a user