mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 06:02:07 +03:00
80d6f46d4e
Yes, you build this *inside* serenity.
40 lines
1.4 KiB
Diff
40 lines
1.4 KiB
Diff
From fd44bfe91d4b17c20c8028d60fe73e016879e73b Mon Sep 17 00:00:00 2001
|
|
From: AnotherTest <ali.mpfard@gmail.com>
|
|
Date: Fri, 12 Feb 2021 13:59:50 +0330
|
|
Subject: [PATCH 11/11] Fixed your code rot, cmake
|
|
|
|
---
|
|
Source/kwsys/ProcessUNIX.c | 8 ++++----
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c
|
|
index cbf137b..65bf129 100644
|
|
--- a/Source/kwsys/ProcessUNIX.c
|
|
+++ b/Source/kwsys/ProcessUNIX.c
|
|
@@ -2890,10 +2890,10 @@ static void kwsysProcessesSignalHandler(int signum
|
|
/* Re-Install our handler. Repeat call until it is not interrupted. */
|
|
{
|
|
struct sigaction newSigAction;
|
|
- struct sigaction& oldSigAction;
|
|
+ struct sigaction* oldSigAction;
|
|
memset(&newSigAction, 0, sizeof(struct sigaction));
|
|
- newSigChldAction.sa_handler = kwsysProcessesSignalHandler;
|
|
- newSigChldAction.sa_flags = SA_NOCLDSTOP;
|
|
+ newSigAction.sa_handler = kwsysProcessesSignalHandler;
|
|
+ newSigAction.sa_flags = SA_NOCLDSTOP;
|
|
sigemptyset(&newSigAction.sa_mask);
|
|
switch (signum) {
|
|
case SIGCHLD:
|
|
@@ -2908,7 +2908,7 @@ static void kwsysProcessesSignalHandler(int signum
|
|
oldSigAction = &kwsysProcessesOldSigTermAction;
|
|
break;
|
|
default:
|
|
- return 0;
|
|
+ return;
|
|
}
|
|
while ((sigaction(signum, &newSigAction, oldSigAction) < 0) &&
|
|
(errno == EINTR))
|
|
--
|
|
2.30.1
|
|
|