Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
KDE:KDE3
kdebase3
kdebase-pardus-exclude-proc-sys-from-search.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdebase-pardus-exclude-proc-sys-from-search.patch of Package kdebase3
From 5d1fa1f0676d795488af6442de919c0913d4d804 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Ozan=20=C3=87a=C4=9Flayan?= <ozan@pardus.org.tr> Date: Fri, 24 Jun 2011 09:43:25 +0000 Subject: [PATCH] kfind: Don't search /proc, /sys and /dev --- kfind/kquery.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kfind/kquery.cpp b/kfind/kquery.cpp index 5d5446f..cf58eaa 100644 --- a/kfind/kquery.cpp +++ b/kfind/kquery.cpp @@ -252,7 +252,7 @@ void KQuery::processQuery( KFileItem* file) bool foundmeta=false; QString filename = file->url().path(); - if(filename.startsWith("/dev/")) + if(filename.startsWith("/dev/") || filename.startsWith("/proc/") || filename.startsWith("/sys/")) return; KFileMetaInfo metadatas(filename); -- 1.6.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor