summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/commandlineparser.cpp
diff options
context:
space:
mode:
authorArttu Tarkiainen <arttu.tarkiainen@qt.io>2022-08-31 12:44:40 +0300
committerArttu Tarkiainen <arttu.tarkiainen@qt.io>2022-09-01 15:23:53 +0000
commitb15f069996610481a6ae8aaca9b174504ac68135 (patch)
tree270005140056a7223601f73160744ebdef47110a /src/libs/installer/commandlineparser.cpp
parentafee8527caea5e367c134ea03da0f51240942171 (diff)
Windows: fix installation error with concurrent Extract operations
There was an issue with the Extract operations when using the same "targetDir" argument for multiple archives. The DirectoryGuard object creating the missing leading directories would occasionally run into a race condition when multiple threads competed with creating the directories. Fix by adding installer specific implementation similar to QDir::mkpath(), but which checks if the directory was created elsewhere at every directory level. Also convert an existing similar case with the Extract operation to use the new function. Task-number: QTIFW-2752 Change-Id: I4451e931309edb536294314b11c903189dacf2f0 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'src/libs/installer/commandlineparser.cpp')
0 files changed, 0 insertions, 0 deletions