existing integrity tables. This can be useful to avoid unwanted
verification of large WIM files, e.g. WIMs given by '--delta-from'.
+ wimsplit (API: wimlib_split()) now correctly handles a dot in the path
+ to the first split WIM part, prior to the filename extension.
+
'wimlib-imagex --version' now shows the version of the library it is
actually using (in case it is different from wimlib-imagex's version).
#include "wimlib/error.h"
#include "wimlib/list.h"
#include "wimlib/metadata.h"
+#include "wimlib/paths.h"
#include "wimlib/progress.h"
#include "wimlib/resource.h"
#include "wimlib/wim.h"
swm_name_len = tstrlen(swm_name);
swm_name_buf = alloca((swm_name_len + 20) * sizeof(tchar));
tstrcpy(swm_name_buf, swm_name);
- dot = tstrchr(swm_name_buf, T('.'));
+ dot = tstrrchr(path_basename(swm_name_buf), T('.'));
if (dot) {
swm_base_name_len = dot - swm_name_buf;
swm_suffix = alloca((tstrlen(dot) + 1) * sizeof(tchar));