Subversion Repositories public

Rev

Rev 13 | Rev 17 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13 Rev 15
Line 245... Line 245...
245
 
245
 
246
  do {
246
  do {
247
    len = read(m_fd, m_buf, INOTIFY_BUFLEN);
247
    len = read(m_fd, m_buf, INOTIFY_BUFLEN);
248
  } while (fNoIntr && len == -1 && errno == EINTR);
248
  } while (fNoIntr && len == -1 && errno == EINTR);
249
 
249
 
-
 
250
  if (errno == EWOULDBLOCK)
-
 
251
    return;
-
 
252
 
250
  if (len < 0)
253
  if (len < 0)
251
    throw InotifyException(IN_EXC_MSG("reading events failed"), errno, this);
254
    throw InotifyException(IN_EXC_MSG("reading events failed"), errno, this);
252
 
255
 
253
  ssize_t i = 0;
256
  ssize_t i = 0;
254
  while (i < len) {
257
  while (i < len) {