From 822e9025fc368f36bd461ff323ada4297811dbb8 Mon Sep 17 00:00:00 2001 From: Vitalii Koshura Date: Wed, 15 Jan 2025 14:36:17 +0100 Subject: [PATCH] Test Signed-off-by: Vitalii Koshura --- installer/FileTable.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/installer/FileTable.cpp b/installer/FileTable.cpp index 1904795112..d1e88276f6 100644 --- a/installer/FileTable.cpp +++ b/installer/FileTable.cpp @@ -123,8 +123,11 @@ std::filesystem::path FileTable::GetAbsolutePath( std::string FileTable::GetFileName(const std::filesystem::path& filePath) { char shortName[MAX_PATH]; auto fileName = filePath.filename().string(); + std::cout << "Get short file name for " << fileName << std::endl; if (GetShortPathName(filePath.string().c_str(), shortName, MAX_PATH) != 0) { + std::cout << "Short file name for " << fileName << " is " << shortName + << std::endl; const auto converted = std::filesystem::path(shortName).filename().string(); if (converted != fileName) {