top: correct miscellaneous omission, typo and buglet

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2012-03-16 00:00:00 -05:00 committed by Craig Small
parent 7267c3a22b
commit 2323f864f3
2 changed files with 3 additions and 3 deletions

2
NEWS
View File

@ -3,7 +3,7 @@ procps-ng-3.3.3
* watch -g command repeats until something changes * watch -g command repeats until something changes
* top can read old toprc configuration files * top can read old toprc configuration files
* Changed labels of kB etc to KiB Debian #662786 * Changed labels of kB etc to KiB Debian #662786
* top supports input paste once again Debian #663334
procps-ng-3.3.1 --> procps-ng-3.3.2 procps-ng-3.3.1 --> procps-ng-3.3.2
-------------------------------- --------------------------------

View File

@ -949,7 +949,7 @@ static char *linein (const char *prompt) {
* . true line editing, not just destructive backspace * . true line editing, not just destructive backspace
* . an input limit that's sensitive to current screen dimensions * . an input limit that's sensitive to current screen dimensions
* . immediate signal response without the need to wait for '\n' * . immediate signal response without the need to wait for '\n'
* However, the user will loose the ability to paste keystrokes * However, the user will lose the ability to paste keystrokes
* when this function is chosen over the smaller alternative above! */ * when this function is chosen over the smaller alternative above! */
static char *linein (const char *prompt) { static char *linein (const char *prompt) {
// thank goodness memmove allows the two strings to overlap // thank goodness memmove allows the two strings to overlap
@ -2337,7 +2337,7 @@ static void configs_read (void) {
default_or_error: default_or_error:
#ifdef RCFILE_NOERR #ifdef RCFILE_NOERR
{ RCF_t rcdef = DEF_RCFILE; { RCF_t rcdef = DEF_RCFILE;
flcose(fp); fclose(fp);
Rc = rcdef; Rc = rcdef;
for (i = 0 ; i < GROUPSMAX; i++) for (i = 0 ; i < GROUPSMAX; i++)
Winstk[i].rc = Rc.win[i]; Winstk[i].rc = Rc.win[i];