[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.30 and 1.31

version 1.30, 2003/11/01 20:20:57 version 1.31, 2004/05/07 19:19:49
Line 561 
Line 561 
          * 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, delay * 1000) > 0) {          if (poll(pfd, 1, delay * 1000) > 0 &&
               !(pfd[0].revents & (POLLERR|POLLHUP|POLLNVAL))) {
                 char *errmsg;                  char *errmsg;
                 ssize_t len;                  ssize_t len;
                 int newval;                  int newval;

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31