]> granicus.if.org Git - procps-ng/commit
top: fix a fix for the 'bye_bye' function (merge #127)
authorJim Warner <james.warner@comcast.net>
Mon, 21 Jun 2021 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Wed, 23 Jun 2021 08:23:49 +0000 (18:23 +1000)
commit27e60e86e9f5b85520da001422176700fc9d824a
tree429e3a3c6c9060209e54f41fd0517b1ab1e109e3
parent24e4e1f5c308bb89dde54020aa439518c2eabaef
top: fix a fix for the 'bye_bye' function (merge #127)

In the merge request shown below, 1 too many bytes are
written to stdout thus including the terminating null.
As the cure, this commit just reduces the length by 1.

[ along the way, we will remove some unneeded braces ]
[ plus add some additional comments with attribution ]

Reference(s):
https://gitlab.com/procps-ng/procps/-/merge_requests/127
. original ported cchange
commit 6b8980a3b6279058d727377e914cfb6439d6f178

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