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

Diff for /src/usr.bin/tip/Attic/tipout.c between version 1.4 and 1.5

version 1.4, 1997/04/02 01:47:04 version 1.5, 1997/08/23 00:03:46
Line 76 
Line 76 
         char reply;          char reply;
   
         read(fildes[0], &c, 1);          read(fildes[0], &c, 1);
         while (c != '\n') {          while (c != '\n' && pline - line < sizeof(line)) {
                 *pline++ = c;                  *pline++ = c;
                 read(fildes[0], &c, 1);                  read(fildes[0], &c, 1);
         }          }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5