From d8f8fb3c8b65787e33c0e18b7e600daa9c3cbb2b Mon Sep 17 00:00:00 2001 From: Marco De Marco <demarco@oats.inaf.it> Date: Thu, 26 Jun 2014 10:14:14 +0200 Subject: [PATCH] File in watch path processed at startup removed --- src/EventThread.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/EventThread.cpp b/src/EventThread.cpp index 35ab559..7e3e653 100644 --- a/src/EventThread.cpp +++ b/src/EventThread.cpp @@ -174,6 +174,7 @@ void EventThread::initEventBuffer() throw(std::runtime_error) throw std::runtime_error("Watch path \"" + watchPath + "\" is not a valid directory"); + /* //All files in watch path are inserted into event buffer boost::filesystem::directory_iterator startIt(path); boost::filesystem::directory_iterator endIt; @@ -185,6 +186,7 @@ void EventThread::initEventBuffer() throw(std::runtime_error) startIt++; } + */ } //============================================================================== -- GitLab