[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.80 and 1.81

version 1.80, 2013/01/14 21:33:59 version 1.81, 2014/04/07 15:49:22
Line 601 
Line 601 
          * wait for either input or the end           * wait for either input or the end
          * of the delay period           * of the delay period
          */           */
         if (poll(pfd, 1, (int)(delay * 1000)) > 0 &&          if (poll(pfd, 1, (int)(delay * 1000)) > 0) {
             !(pfd[0].revents & (POLLERR|POLLHUP|POLLNVAL))) {  
                 char *errmsg;                  char *errmsg;
                 ssize_t len;                  ssize_t len;
   
                   if ((pfd[0].revents & (POLLERR|POLLHUP|POLLNVAL)))
                           exit(1);
   
                 clear_message();                  clear_message();
   

Legend:
Removed from v.1.80  
changed lines
  Added in v.1.81