Refresh the directory where files are moved out of

This commit is contained in:
Martin Raiber 2012-05-18 02:51:21 +02:00
parent 4aeda3b041
commit 28644b3fee

View File

@ -977,7 +977,7 @@ void ChangeJournalWatcher::updateWithUsn(const std::wstring &vol, const SChangeJ
open_write_files[real_fn]=true;
}
if(UsnRecord->Reason & watch_flags)
if(UsnRecord->Reason & (watch_flags | USN_REASON_RENAME_OLD_NAME) )
{
listener->On_FileModified(real_fn);
}