diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2019-04-30 15:29:30 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2019-05-07 17:40:06 (GMT) |
commit | 26025d6e106ffd4cd777fdc3a4343b33c8554c15 (patch) | |
tree | f40c983a734557f9137fa775fd051437079c89e4 /Source/cmUVStreambuf.h | |
parent | 6b04d1cdc281b9b0dee5f59394a1c41d8b96c4a1 (diff) | |
download | CMake-26025d6e106ffd4cd777fdc3a4343b33c8554c15.zip CMake-26025d6e106ffd4cd777fdc3a4343b33c8554c15.tar.gz CMake-26025d6e106ffd4cd777fdc3a4343b33c8554c15.tar.bz2 |
cmUVProcessChain: Add cmUVProcessChain
This class is ultimately intended as a replacement for cmsys::Process.
It spawns a series of processes using libuv, piping the output of each
command into the next.
Note: input support has not yet been implemented because write
support has not yet been implemented on cmUVStreambuf.
Diffstat (limited to 'Source/cmUVStreambuf.h')
-rw-r--r-- | Source/cmUVStreambuf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmUVStreambuf.h b/Source/cmUVStreambuf.h index 0ae532b..873352b 100644 --- a/Source/cmUVStreambuf.h +++ b/Source/cmUVStreambuf.h @@ -208,7 +208,7 @@ void cmBasicUVStreambuf<CharT, Traits>::StreamRead(ssize_t nread) this->setg(this->eback(), this->gptr(), this->egptr() + nread / sizeof(CharT)); uv_read_stop(this->Stream); - } else if (nread < 0 || nread == UV_EOF) { + } else if (nread < 0 /*|| nread == UV_EOF*/) { this->EndOfFile = true; uv_read_stop(this->Stream); } |