[BACK]Return to rwho.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / usr.bin / rwho

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/usr.bin/rwho/rwho.c between version 1.18 and 1.19

version 1.18, 2008/07/21 14:19:25 version 1.19, 2009/04/13 07:11:37
Line 135  main(int argc, char **argv)
Line 135  main(int argc, char **argv)
                 if (f < 0)                  if (f < 0)
                         continue;                          continue;
                 cc = read(f, &wd, sizeof (wd));                  cc = read(f, &wd, sizeof (wd));
                 if (cc < WHDRSIZE) {                  if (cc < (ssize_t)WHDRSIZE) {
                         (void)close(f);                          (void)close(f);
                         continue;                          continue;
                 }                  }

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

CVSweb <webmaster@jp.NetBSD.org>