Subversion Repositories public

Compare Revisions

Ignore whitespace Rev 26 → Rev 27

/inotify-cxx/trunk/inotify-cxx.cpp
397,12 → 397,12
len = read(m_fd, m_buf, INOTIFY_BUFLEN);
} while (fNoIntr && len == -1 && errno == EINTR);
if (errno == EWOULDBLOCK)
if (len == -1 && !(errno == EWOULDBLOCK || errno == EINTR))
throw InotifyException(IN_EXC_MSG("reading events failed"), errno, this);
if (len == -1)
return;
if (len < 0)
throw InotifyException(IN_EXC_MSG("reading events failed"), errno, this);
IN_WRITE_BEGIN
ssize_t i = 0;
/inotify-cxx/trunk/CHANGELOG
1,3 → 1,7
0.5.3 2006-12-06
* fixed incorrect error handling in WaitForEvents()
 
 
0.5.2 2006-11-12
* problem with ignoring IN_OPEN has been fixed (#0000102)