top: share the rcfile between master & newlib branches
Since the decision was made to also add that Linux-4.5 support (was only in this newlib branch) to our master branch, a tweak to newlib's top is necessary. In order to share the rcfile between them, any fields unique to a branch must appear last in it's list of enumerators. And the troublesome field in question above is CGNAME. It doesn't matter if a unique field is on or off, only that it, as a higher enum/char, appear after all other shared fields. Otherwise one risks the 'corrupt' error message from the top without that field or the display of the wrong column in the top with that unique field. [ and strictly speaking, the changes under top_nls.c ] [ were technically not really necessary. however, we ] [ choose to maintain strict ordering via enum value. ] Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Reference in New Issue
Block a user