Changeset View
Changeset View
Standalone View
Standalone View
files/patches/0000-Fix-wait-call-in-PosixPlatform.patch
- This file was added.
| --- rt-8u202-b02/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp 2018-10-29 16:26:04.000000000 +0100 | |||||
| +++ rt-8u202-b02-patched/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp 2018-11-27 15:34:52.170181958 +0100 | |||||
| @@ -43,7 +43,6 @@ | |||||
| #include <sys/types.h> | |||||
| #include <sys/wait.h> | |||||
| #include <unistd.h> | |||||
| -#include <sys/sysctl.h> | |||||
| #include <iostream> | |||||
| #include <dlfcn.h> | |||||
| #include <signal.h> | |||||
| @@ -232,10 +231,7 @@ | |||||
| pid_t wpid = 0; | |||||
| //TODO Use waitpid instead of wait | |||||
| -#ifdef LINUX | |||||
| - wait(&status); | |||||
| -#endif | |||||
| -#ifdef MAC | |||||
| +#if defined(LINUX) || defined(MAC) | |||||
| wpid = wait(&status); | |||||
| #endif | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.