mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:57:45 +00:00
Ports: Format patches without numbering, commit hash or version number
This commit is contained in:
parent
d69a79b03b
commit
d426c5a4b2
371 changed files with 806 additions and 1884 deletions
|
@ -1,17 +1,17 @@
|
|||
From 5ac8ded61c9bcddb7b1df3ad8a23b90a777349bc Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Ali Mohammad Pur <ali.mpfard@gmail.com>
|
||||
Date: Fri, 9 Jul 2021 04:44:26 +0430
|
||||
Subject: [PATCH 1/7] unix: Stub out {get,set}priority for serenity
|
||||
Subject: [PATCH] unix: Stub out {get,set}priority for serenity
|
||||
|
||||
---
|
||||
src/unix/core.c | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/src/unix/core.c b/src/unix/core.c
|
||||
index 71e9c52..004a589 100644
|
||||
index def5b8f..3cdd5fa 100644
|
||||
--- a/src/unix/core.c
|
||||
+++ b/src/unix/core.c
|
||||
@@ -1421,7 +1421,11 @@ int uv_os_getpriority(uv_pid_t pid, int* priority) {
|
||||
@@ -1423,7 +1423,11 @@ int uv_os_getpriority(uv_pid_t pid, int* priority) {
|
||||
return UV_EINVAL;
|
||||
|
||||
errno = 0;
|
||||
|
@ -23,7 +23,7 @@ index 71e9c52..004a589 100644
|
|||
|
||||
if (r == -1 && errno != 0)
|
||||
return UV__ERR(errno);
|
||||
@@ -1435,8 +1439,10 @@ int uv_os_setpriority(uv_pid_t pid, int priority) {
|
||||
@@ -1437,8 +1441,10 @@ int uv_os_setpriority(uv_pid_t pid, int priority) {
|
||||
if (priority < UV_PRIORITY_HIGHEST || priority > UV_PRIORITY_LOW)
|
||||
return UV_EINVAL;
|
||||
|
||||
|
@ -34,6 +34,3 @@ index 71e9c52..004a589 100644
|
|||
|
||||
return 0;
|
||||
}
|
||||
--
|
||||
2.32.0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue