From: Jim Warner Date: Wed, 7 Oct 2015 05:00:00 +0000 (-0500) Subject: ps: miscellaneous accumulated changes to comments only X-Git-Tag: v4.0.0~1004 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=99a657b36545f86a08d818720142b3a0a69fb11f;p=procps-ng ps: miscellaneous accumulated changes to comments only With the conversion to the new interface, a few comments (only) are being adjusted, as detailed below. . Escapes '\' crept into some comments containing '|'. . For consistency, add '.' dot qualifier to a comment. Signed-off-by: Jim Warner --- diff --git a/ps/common.h b/ps/common.h index 098f54ee..fd5781cb 100644 --- a/ps/common.h +++ b/ps/common.h @@ -15,7 +15,7 @@ #include "../include/nls.h" #include "../proc/escape.h" -// --- interface begin |||||\|||||||||||||||||||||||||||||||||||||| +// --- interface begin |||||||||||||||||||||||||||||||||||||||||||| // ----------------------------------------------------------------------- #include diff --git a/ps/global.c b/ps/global.c index 3384d74f..90da8395 100644 --- a/ps/global.c +++ b/ps/global.c @@ -48,7 +48,7 @@ #define __GLIBC_MINOR__ -1 #endif -// --- interface begin |||||\|||||||||||||||||||||||||||||||||||||| +// --- interface begin |||||||||||||||||||||||||||||||||||||||||||| // ----------------------------------------------------------------------- struct procps_pidsinfo *Pids_info = NULL; // our required context enum pids_item *Pids_items; // allocated as PIDSITEMS @@ -142,7 +142,7 @@ makREL(WCHAN_NAME) makREL(extra) makREL(noop) // ----------------------------------------------------------------------- -// --- interface end |||||||\|||||||||||||||||||||||||||||||||||||| +// --- interface end |||||||||||||||||||||||||||||||||||||||||||||| static const char * saved_personality_text = "You found a bug!"; diff --git a/ps/output.c b/ps/output.c index af962e05..866f135f 100644 --- a/ps/output.c +++ b/ps/output.c @@ -1367,7 +1367,7 @@ static int pr_t_left2(char *restrict const outbuf, const proc_t *restrict const /* there are about 211 listed */ /* Many of these are placeholders for unsupported options. */ static const format_struct format_array[] = { /* - .spec .head .pr .sr width .vendor .flags */ + .spec .head .pr .sr .width .vendor .flags */ {"%cpu", "%CPU", pr_pcpu, PROCPS_PIDS_extra, 4, BSD, ET|RIGHT}, /*pcpu*/ {"%mem", "%MEM", pr_pmem, PROCPS_PIDS_VM_RSS, 4, BSD, PO|RIGHT}, /*pmem*/ {"_left", "LLLLLLLL", pr_t_left, PROCPS_PIDS_noop, 8, TST, ET|LEFT},