Commit e47a43e0 authored by Alberto Sánchez Molero's avatar Alberto Sánchez Molero Committed by Frank Reininghaus

Don't exclude /dev/shm from the possible directories to watch

BUG: 314982
REVIEW: 121248
parent e2b27184
......@@ -767,7 +767,8 @@ void KDirWatchPrivate::addEntry(KDirWatch* instance, const QString& _path,
if (path.isEmpty()
#ifndef Q_WS_WIN
|| path == QLatin1String("/dev")
|| (path.startsWith(QLatin1String("/dev/")) && !path.startsWith(QLatin1String("/dev/.")))
|| (path.startsWith(QLatin1String("/dev/")) && !path.startsWith(QLatin1String("/dev/."))
&& !path.startsWith(QLatin1String("/dev/shm")))
return; // Don't even go there.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment