From dd496bbcf74d0e1357ac2c3ad6a0f98664b9ab15 Mon Sep 17 00:00:00 2001
From: Vit Rosin <vit_r@list.ru>
Date: Sun, 25 Oct 2009 02:58:43 +0000
Subject: [PATCH] Ignoring system dirs /dev, /proc and /sys
when <Find file> to avoid search in /proc/kcore and so on
(modified: src/find.c)
---
src/find.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/find.c b/src/find.c
index 8955dc7..e82f683 100644
a
|
b
|
typedef enum { |
84 | 84 | } FindProgressStatus; |
85 | 85 | |
86 | 86 | /* List of directories to be ignored, separated by ':' */ |
87 | | char *find_ignore_dirs = NULL; |
| 87 | char *find_ignore_dirs = ":./dev:./proc:./sys:"; /* to search in all dirs: char *find_ignore_dirs = NULL; */ |
88 | 88 | |
89 | 89 | /* static variables to remember find parameters */ |
90 | 90 | static WInput *in_start; /* Start path */ |