[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.35 and 1.36

version 1.35, 2004/10/07 06:26:12 version 1.36, 2005/04/13 02:33:09
Line 593 
Line 593 
                  * command strchr                   * command strchr
                  */                   */
                 while (1) {                  while (1) {
                         len = read(0, &ch, 1);                          len = read(STDIN_FILENO, &ch, 1);
                         if (len == -1 && errno == EINTR)                          if (len == -1 && errno == EINTR)
                                 continue;                                  continue;
                         if (len == 0)                          if (len == 0)
Line 650 
Line 650 
                         standout("Hit any key to continue: ");                          standout("Hit any key to continue: ");
                         fflush(stdout);                          fflush(stdout);
                         while (1) {                          while (1) {
                                 len = read(0, &ch, 1);                                  len = read(STDIN_FILENO, &ch, 1);
                                 if (len == -1 && errno == EINTR)                                  if (len == -1 && errno == EINTR)
                                         continue;                                          continue;
                                 if (len == 0)                                  if (len == 0)
Line 673 
Line 673 
                                 standout("Hit any key to continue: ");                                  standout("Hit any key to continue: ");
                                 fflush(stdout);                                  fflush(stdout);
                                 while (1) {                                  while (1) {
                                         len = read(0, &ch, 1);                                          len = read(STDIN_FILENO, &ch, 1);
                                         if (len == -1 && errno == EINTR)                                          if (len == -1 && errno == EINTR)
                                                 continue;                                                  continue;
                                         if (len == 0)                                          if (len == 0)

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36