[BACK]Return to utils.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / top

Diff for /src/usr.bin/top/utils.c between version 1.25 and 1.26

version 1.25, 2015/01/16 06:40:13 version 1.26, 2017/03/15 04:24:14
Line 58 
Line 58 
                     strncmp(str, "all", len) == 0 ||                      strncmp(str, "all", len) == 0 ||
                     strncmp(str, "maximum", len) == 0) {                      strncmp(str, "maximum", len) == 0) {
                         return (Infinity);                          return (Infinity);
                 }                  }
                 i = (int)strtonum(str, 0, INT_MAX, &errstr);                  i = (int)strtonum(str, 0, INT_MAX, &errstr);
                 if (errstr) {                  if (errstr) {
                         return (Invalid);                          return (Invalid);

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26