loolwsd/LOOLWSD.cpp | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 33b7a899477926cf73ef125e4e45efeeadac4f6b
Author: Ashod Nakashian <[email protected]>
Date: Tue Nov 15 08:01:07 2016 -0500
loolwsd: close forkit write pipe fd before spawning new forkit
Change-Id: Ib3438359f581ded460a4dcd1514c351d20f7e947
Reviewed-on: https://gerrit.libreoffice.org/30889
Reviewed-by: Ashod Nakashian <[email protected]>
Tested-by: Ashod Nakashian <[email protected]>
diff --git a/loolwsd/LOOLWSD.cpp b/loolwsd/LOOLWSD.cpp
index ee67c4c..94be625 100644
--- a/loolwsd/LOOLWSD.cpp
+++ b/loolwsd/LOOLWSD.cpp
@@ -1998,6 +1998,7 @@ int LOOLWSD::main(const std::vector<std::string>&
/*args*/)
}
// Spawn a new forkit and try to dust it off and resume.
+ close(ForKitWritePipe);
forKitPid = createForKit();
if (forKitPid < 0)
{
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits