Issue 115, fix by semerad

This commit is contained in:
Axel Kittenberger 2012-03-16 16:30:55 +01:00
parent 6b9fd39fea
commit fb928f4d2b
1 changed files with 3 additions and 2 deletions

View File

@ -225,8 +225,9 @@ handle_event(lua_State *L,
} else if (IN_ATTRIB & event->mask) {
// just attrib change
event_type = ATTRIB;
} else if (IN_CLOSE_WRITE & event->mask) {
// closed after written something
} else if ((IN_CLOSE_WRITE | IN_MODIFY) & event->mask) {
// modify, or closed after written something
// the event type received depends settings.inotifyMode
event_type = MODIFY;
} else if (IN_CREATE & event->mask) {
// a new file