[Libreoffice-commits] core.git: sal/osl
Stephan Bergmann
sbergman at redhat.com
Fri Oct 31 05:53:15 PDT 2014
sal/osl/unx/process.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 508a78e4b16e710ddb654114eb83ad63b1414534
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Oct 31 13:52:45 2014 +0100
cid#982172 Silently ignore F_SETFD FD_CLOEXEC failures
...there should not be any legitimate reason these fcntl calls can fail, anyway.
Change-Id: Ib5cbe5b40ff42656fe3bad2ac50dcf6faeca0e9d
diff --git a/sal/osl/unx/process.cxx b/sal/osl/unx/process.cxx
index 8503ff0..a59c19f 100644
--- a/sal/osl/unx/process.cxx
+++ b/sal/osl/unx/process.cxx
@@ -215,8 +215,8 @@ static void ChildStatusProc(void *pData)
SAL_WARN("sal.osl", "executeProcess socketpair() errno " << status);
}
- fcntl(channel[0], F_SETFD, FD_CLOEXEC);
- fcntl(channel[1], F_SETFD, FD_CLOEXEC);
+ (void) fcntl(channel[0], F_SETFD, FD_CLOEXEC);
+ (void) fcntl(channel[1], F_SETFD, FD_CLOEXEC);
/* Create redirected IO pipes */
if ( status == 0 && data.m_pInputWrite && pipe( stdInput ) == -1 )
More information about the Libreoffice-commits
mailing list