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

Diff for /src/usr.bin/sndiod/file.c between version 1.2 and 1.3

version 1.2, 2012/12/07 08:04:58 version 1.3, 2013/02/01 09:06:27
Line 383 
Line 383 
 #ifdef DEBUG  #ifdef DEBUG
                 clock_gettime(CLOCK_MONOTONIC, &ts0);                  clock_gettime(CLOCK_MONOTONIC, &ts0);
 #endif  #endif
                 revents = f->ops->revents(f->arg, f->pfd);                  revents = (f->state != FILE_ZOMB) ?
                       f->ops->revents(f->arg, f->pfd) : 0;
                 if ((revents & POLLHUP) && (f->state != FILE_ZOMB))                  if ((revents & POLLHUP) && (f->state != FILE_ZOMB))
                         f->ops->hup(f->arg);                          f->ops->hup(f->arg);
                 if ((revents & POLLIN) && (f->state != FILE_ZOMB))                  if ((revents & POLLIN) && (f->state != FILE_ZOMB))

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3