Subversion Repositories public

Compare Revisions

Ignore whitespace Rev 64 → Rev 65

/incron/trunk/inotify-cxx.cpp
270,7 → 270,7
IN_WRITE_END
}
 
void InotifyWatch::OnOneshotEvent()
void InotifyWatch::__Disable()
{
IN_WRITE_BEGIN
446,8 → 446,9
InotifyWatch* pW = FindWatch(pEvt->wd);
if (pW != NULL) {
InotifyEvent evt(pEvt, pW);
if (InotifyEvent::IsType(pW->GetMask(), IN_ONESHOT))
pW->OnOneshotEvent();
if ( InotifyEvent::IsType(pW->GetMask(), IN_ONESHOT)
|| InotifyEvent::IsType(evt.GetMask(), IN_IGNORED))
pW->__Disable();
m_events.push_back(evt);
}
i += INOTIFY_EVENT_SIZE + (ssize_t) pEvt->len;