This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository evisum.

View the commit online.

commit c23b0d06f56e5804d58fc5806901f6675a1c3b74
Author: Alastair Poole <m...@alastairpoole.com>
AuthorDate: Fri Aug 2 09:51:36 2024 +0100

    process: shorten process state name mapping.
    
    I can't do with this long text. It makes me want to vomit.
    
    Thank you please!
---
 src/bin/system/process.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/bin/system/process.c b/src/bin/system/process.c
index 0d2b7b4..25db818 100644
--- a/src/bin/system/process.c
+++ b/src/bin/system/process.c
@@ -75,16 +75,16 @@ _states_init(void)
 #if defined(__linux__)
    _states['D']     = _("dsleep");
    _states['I']     = _("idle");
-   _states['R']     = _("running");
-   _states['S']     = _("sleeping");
-   _states['T']     = _("stopped");
+   _states['R']     = _("run");
+   _states['S']     = _("sleep");
+   _states['T']     = _("stop");
    _states['X']     = _("dead");
    _states['Z']     = _("zombie");
 #else
    _states[SIDL]    = _("idle");
-   _states[SRUN]    = _("running");
-   _states[SSLEEP]  = _("sleeping");
-   _states[SSTOP]   = _("stopped");
+   _states[SRUN]    = _("run");
+   _states[SSLEEP]  = _("sleep");
+   _states[SSTOP]   = _("stop");
 #if !defined(__MacOS__)
 #if !defined(__OpenBSD__)
    _states[SWAIT]   = _("wait");
@@ -93,7 +93,7 @@ _states_init(void)
 #endif
 #if defined(__OpenBSD__)
    _states[SDEAD]   = _("zombie");
-   _states[SONPROC] = _("running");
+   _states[SONPROC] = _("run");
 #endif
 #endif
 #endif

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to