diff --git a/src/V3File.cpp b/src/V3File.cpp index d4a0b0dcb..be4bf36f7 100644 --- a/src/V3File.cpp +++ b/src/V3File.cpp @@ -345,6 +345,7 @@ private: while (!m_readEof && (size<0 || size>sizegot)) { ssize_t todo = INFILTER_IPC_BUFSIZ; if (size>0 && size0) { @@ -384,6 +385,7 @@ private: if (!m_pid) { v3error("--pipe-filter: write to closed file\n"); m_readEof = true; stop(); } unsigned offset = 0; while (!m_readEof && out.length()>offset) { + errno = 0; int got = write (m_writeFd, (out.c_str())+offset, out.length()-offset); //UINFO(9,"WR GOT g "<< got<<" e "<0) offset += got;