summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-08-09 15:21:04 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-08-09 15:36:07 (GMT)
commit5ed03aa07a831cc51fefaddac2316d24a62d3137 (patch)
treeafd096025ca1f1ed0f25426076ad013861ed7e36 /Tests
parente525f85640d35ce2bfa80fa2a5e9e3236bdabd32 (diff)
parentfbdb1fd84347f4dcb65a50b888e13ece07a367d7 (diff)
downloadCMake-5ed03aa07a831cc51fefaddac2316d24a62d3137.zip
CMake-5ed03aa07a831cc51fefaddac2316d24a62d3137.tar.gz
CMake-5ed03aa07a831cc51fefaddac2316d24a62d3137.tar.bz2
Merge topic 'add-cm-fileno'
fbdb1fd843 Source: Add cm_fileno wrapper Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8686
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeLib/testUVProcessChain.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/CMakeLib/testUVProcessChain.cxx b/Tests/CMakeLib/testUVProcessChain.cxx
index fc84bb0..aab084b 100644
--- a/Tests/CMakeLib/testUVProcessChain.cxx
+++ b/Tests/CMakeLib/testUVProcessChain.cxx
@@ -12,6 +12,8 @@
#include <cm3p/uv.h>
+#include "cm_fileno.hxx"
+
#include "cmGetPipes.h"
#include "cmStringAlgorithms.h"
#include "cmUVHandlePtr.h"
@@ -630,7 +632,8 @@ bool testUVProcessChainInputFile(const char* helperCommand)
cmUVProcessChainBuilder builder;
builder.AddCommand({ helperCommand, "dedup" })
- .SetExternalStream(cmUVProcessChainBuilder::Stream_INPUT, fileno(f.get()))
+ .SetExternalStream(cmUVProcessChainBuilder::Stream_INPUT,
+ cm_fileno(f.get()))
.SetBuiltinStream(cmUVProcessChainBuilder::Stream_OUTPUT);
auto chain = builder.Start();