summaryrefslogtreecommitdiffstats
path: root/Modules/FindPostgreSQL.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-11-19 14:02:57 (GMT)
committerBrad King <brad.king@kitware.com>2024-11-20 11:16:11 (GMT)
commit60af429c5d71d4e159f4f5c129a46482252a924c (patch)
treeae3d8569591b7d0dd7f59ddd0d3b266d99eaf4f7 /Modules/FindPostgreSQL.cmake
parentd1d20ed397ad46d6959ca6eabe628efae8cc6e10 (diff)
downloadCMake-60af429c5d71d4e159f4f5c129a46482252a924c.zip
CMake-60af429c5d71d4e159f4f5c129a46482252a924c.tar.gz
CMake-60af429c5d71d4e159f4f5c129a46482252a924c.tar.bz2
execute_process: Restore CLOEXEC on OUTPUT_FILE and ERROR_FILE descriptors
Since commit 5420639a8d (cmExecuteProcessCommand: Replace cmsysProcess with cmUVProcessChain, 2023-06-01, v3.28.0-rc1~138^2~8), the descriptors for the `OUTPUT_FILE` and `ERROR_FILE` leak to child processes. With `ExternalProject` + `INSTALL_COMMAND` + `LOG_INSTALL`, the logging wrapper script leaks the log files' descriptors to the native build tool. If they happen to match the `make` job server's pipe fds, e.g., with GNU `make` <= 4.3, then the build fails with an error like: gmake[4]: *** read jobs pipe: Bad file descriptor. Stop. Fixes: #26398
Diffstat (limited to 'Modules/FindPostgreSQL.cmake')
0 files changed, 0 insertions, 0 deletions