aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/vcpkg_System.cpp
diff options
context:
space:
mode:
authorDaniel Shaw <t-dansha@microsoft.com>2017-07-14 13:22:09 -0700
committerDaniel Shaw <t-dansha@microsoft.com>2017-07-14 13:22:09 -0700
commit4f7f1cf5d159f69af5f10925245799dc91af7968 (patch)
tree9495a6abfe8494d8276dadef6c160e88d35128f1 /toolsrc/src/vcpkg_System.cpp
parent336e25218a73f9b54120e3c35b3d28e6426deeb1 (diff)
parent2055a9cd4490861aa7ce9e1af23c0232f97552c9 (diff)
downloadvcpkg-4f7f1cf5d159f69af5f10925245799dc91af7968.tar.gz
vcpkg-4f7f1cf5d159f69af5f10925245799dc91af7968.zip
Merge remote-tracking branch 'origin' into create_install_tests
Diffstat (limited to 'toolsrc/src/vcpkg_System.cpp')
-rw-r--r--toolsrc/src/vcpkg_System.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/vcpkg_System.cpp b/toolsrc/src/vcpkg_System.cpp
index c91c6be78..883fe6612 100644
--- a/toolsrc/src/vcpkg_System.cpp
+++ b/toolsrc/src/vcpkg_System.cpp
@@ -94,7 +94,7 @@ namespace vcpkg::System
};
// Flush stdout before launching external process
- _flushall();
+ fflush(nullptr);
std::vector<const wchar_t*> env_cstr;
env_cstr.reserve(env_wstrings.size() + 2);
@@ -125,7 +125,7 @@ namespace vcpkg::System
int cmd_execute(const CWStringView cmd_line)
{
// Flush stdout before launching external process
- _flushall();
+ fflush(nullptr);
// Basically we are wrapping it in quotes
const std::wstring& actual_cmd_line = Strings::wformat(LR"###("%s")###", cmd_line);