]> granicus.if.org Git - procps-ng/commitdiff
top: update one function prologue after rcfile changes
authorJim Warner <james.warner@comcast.net>
Tue, 29 Mar 2022 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Fri, 1 Apr 2022 06:13:25 +0000 (17:13 +1100)
When top's rcfile was reorganized, trading that 'char'
based field representation for the 'int' scheme, there
was a function prologue that should have been changed.

Thus, this patch will correct that original oversight.

Reference(s):
. Mar, 2022 - rcfile reorganized
commit 46aa96e438435628810b33d20cb1c14dc33dd84f

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c

index 04cf084bf0972e85e569ce8c1ff9097703550188..110bea8fc2e9508e7fc9fbff1dac3feda60c7a23 100644 (file)
--- a/top/top.c
+++ b/top/top.c
@@ -3981,14 +3981,14 @@ static int configs_path (const char *const fmts, ...) {
          * 1. 'SYS_RCRESTRICT' contains two lines consisting of the secure
          *     mode switch and an update interval.  Its presence limits what
          *     ordinary users are allowed to do.
-         * 2. 'Rc_name' contains multiple lines - 3 global + 3 per window.
-         *     line 1  : an eyecatcher and creating program/alias name
-         *     line 2  : an id, Mode_altcsr, Mode_irixps, Delay_time, Curwin.
+         * 2. 'Rc_name' contains multiple lines - both global & per window.
+         *       line 1 : an eyecatcher and creating program/alias name
+         *       line 2 : an id, Mode_altcsr, Mode_irixps, Delay_time, Curwin.
          *     For each of the 4 windows:
-         *       line a: contains w->winname, fieldscur
-         *       line b: contains w->winflags, sortindx, maxtasks, etc
-         *       line c: contains w->summclr, msgsclr, headclr, taskclr
-         *     line 15 : miscellaneous additional global settings
+         *       lines a: contains w->winname, fieldscur
+         *       line  b: contains w->winflags, sortindx, maxtasks, etc
+         *       line  c: contains w->summclr, msgsclr, headclr, taskclr
+         *     global   : miscellaneous additional settings
          *     Any remaining lines are devoted to the optional entries
          *     supporting the 'Other Filter' and 'Inspect' provisions.
          * 3. 'SYS_RCDEFAULTS' system-wide defaults if 'Rc_name' absent