mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-25 20:22:30 +01:00
Fixup get-commit-db utility
This commit is contained in:
parent
63104af8e9
commit
8db02dcf40
@ -544,8 +544,10 @@ int main(int argc, char** argv)
|
|||||||
{
|
{
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
if (AttachConsole(ATTACH_PARENT_PROCESS) || AllocConsole())
|
if (AttachConsole(ATTACH_PARENT_PROCESS) || AllocConsole())
|
||||||
|
{
|
||||||
[[maybe_unused]] const auto con_out = freopen("CONOUT$", "w", stdout);
|
[[maybe_unused]] const auto con_out = freopen("CONOUT$", "w", stdout);
|
||||||
[[maybe_unused]] const auto con_err = freopen("CONOUT$", "w", stderr);
|
[[maybe_unused]] const auto con_err = freopen("CONOUT$", "w", stderr);
|
||||||
|
}
|
||||||
|
|
||||||
std::string path;
|
std::string path;
|
||||||
#else
|
#else
|
||||||
@ -751,7 +753,7 @@ int main(int argc, char** argv)
|
|||||||
|
|
||||||
curl_slist_free_all(hhdr);
|
curl_slist_free_all(hhdr);
|
||||||
|
|
||||||
fprintf(stdout, "Finished fetching commits\n", path.c_str());
|
fprintf(stdout, "Finished fetching commits: %s\n", path.c_str());
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user