mirror of https://github.com/microsoft/vcpkg.git
[vcpkg] Fix issue with any command executing more than 10 transactions with mixed types. Fixes #2600. Fixes #2582.
This commit is contained in:
parent
7d9f0a8697
commit
9eda2e04d1
|
|
@ -92,7 +92,7 @@ namespace vcpkg
|
|||
|
||||
const auto my_update_id = update_id++;
|
||||
const auto tmp_update_filename = paths.vcpkg_dir_updates / "incomplete";
|
||||
const auto update_filename = paths.vcpkg_dir_updates / std::to_string(my_update_id);
|
||||
const auto update_filename = paths.vcpkg_dir_updates / Strings::format("%010d", my_update_id);
|
||||
|
||||
fs.write_contents(tmp_update_filename, Strings::serialize(p));
|
||||
fs.rename(tmp_update_filename, update_filename);
|
||||
|
|
|
|||
Loading…
Reference in New Issue