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

Diff for /src/usr.bin/talk/io.c between version 1.15 and 1.16

version 1.15, 2004/03/02 21:04:42 version 1.16, 2005/04/13 02:33:08
Line 109 
Line 109 
                          * curses's output routines would screw up                           * curses's output routines would screw up
                          */                           */
                         ioctl(0, FIONREAD, &nb);                          ioctl(0, FIONREAD, &nb);
                         nb = read(0, buf, nb);                          nb = read(STDIN_FILENO, buf, nb);
                         display(&my_win, buf, nb);                          display(&my_win, buf, nb);
                         /* might lose data here because sockt is non-blocking */                          /* might lose data here because sockt is non-blocking */
                         write(sockt, buf, nb);                          write(sockt, buf, nb);

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16