diff options
author | Brad King <brad.king@kitware.com> | 2022-10-27 13:26:24 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-10-27 13:26:36 (GMT) |
commit | fa040cedadb3d6910be512cc0d2b5847973e4098 (patch) | |
tree | 5e7151f7f36723e01a47f96a35a748ca6242611a /Source/cmGlobalNinjaGenerator.cxx | |
parent | f2432780b3fd92bbaa8194ce7577cc4797b695ff (diff) | |
parent | a12050666c5441abc4865acdde9ee583e765d6e6 (diff) | |
download | CMake-fa040cedadb3d6910be512cc0d2b5847973e4098.zip CMake-fa040cedadb3d6910be512cc0d2b5847973e4098.tar.gz CMake-fa040cedadb3d6910be512cc0d2b5847973e4098.tar.bz2 |
Merge topic 'ninja-intl-paths'
a12050666c Tests: Add case for ninja with non-ascii chars
02a04dd9c7 Ninja: Restore support for non-ascii paths on Windows with ninja<=1.10
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7833
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.cxx')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx index c326ca6..077de42 100644 --- a/Source/cmGlobalNinjaGenerator.cxx +++ b/Source/cmGlobalNinjaGenerator.cxx @@ -1030,19 +1030,6 @@ bool cmGlobalNinjaGenerator::OpenBuildFileStreams() return false; } - // New buffer size 8 MiB - constexpr auto buildFileStreamBufferSize = 8 * 1024 * 1024; - - // Ensure the buffer is allocated - if (!this->BuildFileStreamBuffer) { - this->BuildFileStreamBuffer = - cm::make_unique<char[]>(buildFileStreamBufferSize); - } - - // Enlarge the internal buffer of the `BuildFileStream` - this->BuildFileStream->rdbuf()->pubsetbuf(this->BuildFileStreamBuffer.get(), - buildFileStreamBufferSize); - // Write a comment about this file. *this->BuildFileStream << "# This file contains all the build statements describing the\n" |