From 1d4fbc4fa2c999098cae54eb01c012e6d3299a60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Wed, 22 Nov 2017 17:52:46 +0100 Subject: [PATCH] Fixup poll driver. --- source/eventcore/drivers/posix/watchers.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/eventcore/drivers/posix/watchers.d b/source/eventcore/drivers/posix/watchers.d index c36aaf9..b39c822 100644 --- a/source/eventcore/drivers/posix/watchers.d +++ b/source/eventcore/drivers/posix/watchers.d @@ -376,7 +376,7 @@ final class PollEventDriverWatchers(Events : EventDriverEvents) : EventDriverWat private void addChange(FileChangeKind kind, Key key, bool is_dir) { try synchronized (m_changesMutex) { - m_changes ~= FileChange(kind, m_basePath, key.parent ? key.parent.path : ".", key.name, is_dir); + m_changes ~= FileChange(kind, m_basePath, key.parent ? key.parent.path : "", key.name, is_dir); } catch (Exception e) assert(false, "Mutex lock failed: "~e.msg); }