blob: 35a45ec90993c96b7ab4eb5a072fe9957a866b83 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- ../vcl/workben/officeacceptthread.cxx.orig Tue Jun 3 11:27:35 2003
+++ ../vcl/workben/officeacceptthread.cxx Tue Jun 3 11:27:38 2003
@@ -122,10 +122,10 @@
sal_Bool static isProcessRunning( ::vos::OProcess::TProcessInfo& aProcessInfo )
{
int nRet;
-#if defined (SOLARIS)
+#if defined (SOLARIS) || defined (FREEBSD)
int status;
nRet = waitpid(aProcessInfo.Ident, &status,WNOHANG);
-#elif defined(LINUX) || defined (FREEBSD)
+#elif defined(LINUX)
nRet = kill(aProcessInfo.Ident, 0);
#endif
#if defined (UNX)
|