Bug fixes
-
Canonicalizing the mount point path in 0.15.4 fixed a bug on Linux, but introduced a new bug on Windows. With canonicalized paths, WinFsp does no longer allow mounting a DwarFS image unless
MountUseMountmgrFromFSDis set to1in the registry. The fix is to only perform canonicalization on non-Windows platforms. Fixes GitHub issue [#375]. -
Ensure UTF-8 safe number formatting on Windows. DwarFS historically uses
charand UTF-8 for anything internally. That doesn't play nicely when it comes to stream formatting, in particular numbers, on Windows. The Linux world has workarounds for this instd::numpunct, but Windows does not and will happily return characters that are invalid UTF-8, which will eventually cause thefmtlibrary to fall over. This change checks if the current locale requires number formatting characters that would end up as multi-byte UTF-8 sequences. If so, it will install a "safe"std::numpunctfacet as well as a customfmt::format_facet. The former will simply turn off fancy number formatting, while the latter will override formatting in thefmtlibrary and use UTF-8 strings instead of single byte characters. This was discovered in the log output from GitHub issue [#375].
Other
-
When logging a
fmtexception, include the exception message if possible. -
In
dwarfs, log FUSE command line options after parsing. -
Work around a CMake 4.4 gtest JSON test parsing bug (https://gitlab.kitware.com/cmake/cmake/-/work_items/27939)
Full Changelog: https://github.com/mhx/dwarfs/compare/v0.15.5...v0.15.6