[Libreoffice-commits] online.git: loolwsd/IoUtil.cpp
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Wed Nov 16 04:42:21 UTC 2016
loolwsd/IoUtil.cpp | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit b47550e5669180323b35586a767bd8fb2260462c
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date: Tue Nov 15 08:00:07 2016 -0500
loolwsd: log pipe reading errors
Change-Id: I58b78454c74874687fbc216c2dd704b3677ccea1
Reviewed-on: https://gerrit.libreoffice.org/30888
Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at gmail.com>
diff --git a/loolwsd/IoUtil.cpp b/loolwsd/IoUtil.cpp
index 4368af1..035dcf8 100644
--- a/loolwsd/IoUtil.cpp
+++ b/loolwsd/IoUtil.cpp
@@ -284,6 +284,11 @@ int PipeReader::readLine(std::string& line,
else if (ready < 0)
{
// error.
+ if (errno != EINTR)
+ {
+ LOG_SYS("Pipe polling failed.");
+ }
+
return ready;
}
else if (pipe.revents & (POLLIN | POLLPRI))
More information about the Libreoffice-commits
mailing list