From 18c5dab410d36ef4f5d5cfdf9700cb711b5ba16b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 22 Feb 2026 13:02:55 +0100 Subject: m fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- README | 10 +++++----- config.mk | 4 ++-- orphan-reaper.1 | 10 +++++----- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README b/README index a2be83c..b35cd7b 100644 --- a/README +++ b/README @@ -10,8 +10,8 @@ DESCRIPTION process tree clean. For instance if you want all programs started from inside the same display server instance to appear to be inside that display if you look inside the - process tree, rather than all processes that loses their - parent being reparented to PID 1 and make a mess on your + process tree, rather than all processes that lose their + parent being reparented to PID 1 and making a mess of your process tree. OPTIONS @@ -19,9 +19,9 @@ OPTIONS Fail if the process cannot become a subreaper. RATIONALE - It is really nice to have a processes that are running - inside a display server to be a grandchild of the - display server, rather than being reparanted to PID 1. + It is really nice to have processes that are running + inside a display server be grandchildren of the + display server, rather than being reparented to PID 1. Especially when multiple display servers are running. SEE ALSO diff --git a/config.mk b/config.mk index bad3f79..c28f7f9 100644 --- a/config.mk +++ b/config.mk @@ -2,8 +2,8 @@ PREFIX = /usr MANPREFIX = $(PREFIX)/share/man LIBEXECDIR = $(PREFIX)/libexec/orphan-reaper -CC = cc +CC = c99 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -CFLAGS = -std=c99 -Wall -O2 +CFLAGS = LDFLAGS = -s diff --git a/orphan-reaper.1 b/orphan-reaper.1 index 21cb0b9..3d07d55 100644 --- a/orphan-reaper.1 +++ b/orphan-reaper.1 @@ -11,17 +11,17 @@ grandchildren. This is useful if you want to keep your process tree clean. For instance if you want all programs started from inside the same display server instance to appear to be inside that display if you look inside the -process tree, rather than all processes that loses their -parent being reparented to PID 1 and make a mess on your +process tree, rather than all processes that lose their +parent being reparented to PID 1 and making a mess of your process tree. .SH OPTIONS .TP .BR \-f Fail if the process cannot become a subreaper. .SH RATIONALE -It is really nice to have a processes that are running -inside a display server to be a grandchild of the -display server, rather than being reparanted to PID 1. +It is really nice to have processes that are running +inside a display server be grandchildren of the +display server, rather than being reparented to PID 1. Especially when multiple display servers are running. .SH "SEE ALSO" .BR prctl (2), -- cgit v1.2.3-70-g09d2