• Brad King's avatar
    Ensure stdin, stdout, and stderr pipes are always open · c85524a9
    Brad King authored
    On non-Windows platforms libuv assumes that file descriptors 0-2 are
    always used for standard pipes and never for anything else.  Otherwise,
    libuv may re-use one of these descriptors and then fail an assertion
    when closing it.  Similarly, On Windows platforms our ConsoleBuf
    implementation assumes that the standard handles are always open.
    
    If CMake is run with any standard pipes closed, open them with
    `/dev/null` or `NUL` to satisfy these assumptions.
    
    Fixes: #19219
    c85524a9
Name
Last commit
Last update
..
AddCacheEntry.cxx Loading commit data...
AddCacheEntry.h Loading commit data...
AddCacheEntry.ui Loading commit data...
CMakeLists.txt Loading commit data...
CMakeSetup.cxx Loading commit data...
CMakeSetup.icns Loading commit data...
CMakeSetup.ico Loading commit data...
CMakeSetup.qrc Loading commit data...
CMakeSetup.rc Loading commit data...
CMakeSetup128.png Loading commit data...
CMakeSetup32.png Loading commit data...
CMakeSetup64.png Loading commit data...
CMakeSetupDialog.cxx Loading commit data...
CMakeSetupDialog.h Loading commit data...
CMakeSetupDialog.ui Loading commit data...
Compilers.h Loading commit data...
Compilers.ui Loading commit data...
CrossCompiler.ui Loading commit data...
Delete16.png Loading commit data...
FirstConfigure.cxx Loading commit data...
FirstConfigure.h Loading commit data...
Info.plist.in Loading commit data...
Plus16.png Loading commit data...
QCMake.cxx Loading commit data...
QCMake.h Loading commit data...
QCMakeCacheView.cxx Loading commit data...
QCMakeCacheView.h Loading commit data...
QCMakeWidgets.cxx Loading commit data...
QCMakeWidgets.h Loading commit data...
QtDialogCPack.cmake.in Loading commit data...
RegexExplorer.cxx Loading commit data...
RegexExplorer.h Loading commit data...
RegexExplorer.ui Loading commit data...
WarningMessagesDialog.cxx Loading commit data...
WarningMessagesDialog.h Loading commit data...
WarningMessagesDialog.ui Loading commit data...
cmake-gui.desktop Loading commit data...
cmakecache.xml Loading commit data...