diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-07-11 14:43:25 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-11 14:43:25 -0700 |
| commit | a5d42e2bcb01c78323d21a6f62dcf89866bae09a (patch) | |
| tree | e61705b442b69e216314a991905ace2b7ede38ac | |
| parent | 1a84896b87061943f6965638dfb5e7725c7f6695 (diff) | |
| parent | fe602fc3581e3e9d99a64d759a45fc63d49f7f59 (diff) | |
| download | vcpkg-a5d42e2bcb01c78323d21a6f62dcf89866bae09a.tar.gz vcpkg-a5d42e2bcb01c78323d21a6f62dcf89866bae09a.zip | |
Merge pull request #1432 from atkawa7/remove-flushall
[vcpkg] remove flushall
| -rw-r--r-- | toolsrc/src/vcpkg_System.cpp | 4 |
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); |
