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

Diff for /src/usr.bin/top/top.c between version 1.100 and 1.101

version 1.100, 2019/10/08 07:26:59 version 1.101, 2019/10/08 20:51:03
Line 531 
Line 531 
                 i_message();                  i_message();
   
                 /* get the string to use for the process area header */                  /* get the string to use for the process area header */
                 header_text = format_header(uname_field, ps.threads);                  header_text = format_header(ps.threads ? NULL : uname_field);
   
                 /* update the header area */                  /* update the header area */
                 i_header(header_text);                  i_header(header_text);
Line 562 
Line 562 
                                 pid_t pid;                                  pid_t pid;
                                 char * s;                                  char * s;
   
                                 s = format_next_process(processes, get_userid,                                  s = format_next_process(processes,
                                     &pid, ps.threads);                                      ps.threads ? NULL : get_userid, &pid);
                                 i_process(i, s, pid == hlpid);                                  i_process(i, s, pid == hlpid);
                         }                          }
                 }                  }

Legend:
Removed from v.1.100  
changed lines
  Added in v.1.101