aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/vcpkg_System.cpp
diff options
context:
space:
mode:
authoratkawa7 <atkawa7@yahoo.com>2017-07-11 08:58:15 -0700
committeratkawa7 <atkawa7@yahoo.com>2017-07-11 08:58:15 -0700
commitfe602fc3581e3e9d99a64d759a45fc63d49f7f59 (patch)
tree345967c7654ed0a38294c607a1ae6b931a5b3a02 /toolsrc/src/vcpkg_System.cpp
parentc9340bd6e018d0a78979533963e96d5a992757c1 (diff)
downloadvcpkg-fe602fc3581e3e9d99a64d759a45fc63d49f7f59.tar.gz
vcpkg-fe602fc3581e3e9d99a64d759a45fc63d49f7f59.zip
[vcpkg] remove flushall
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);