]> granicus.if.org Git - procps-ng/commit
top: remove residual logic for obsolete functionality
authorJim Warner <james.warner@comcast.net>
Sat, 11 Feb 2012 00:18:18 +0000 (18:18 -0600)
committerCraig Small <csmall@enc.com.au>
Mon, 27 Feb 2012 21:45:12 +0000 (08:45 +1100)
commit045538e01b4588e33bacc1ac57abc799b6d24d7b
tree1cd30ccc1cb251a97d522be652a32ac0b388699d
parentee3ed4b45edd66c6e0455d3fab08a48e7ea83030
top: remove residual logic for obsolete functionality

At one time the 'open_psdb_message' library call was
supported with the concept of a postponed message
which would display after top startup completed.
In turn, that required logic to strip the '\n' which
was embedded (inappropriately) in any such message.

Nowdays top treats such a returned error as fatal so
there is no need for the 'strim' function which is
being removed with this commit.

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