projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2491511
)
Fix find -follow support
author
Ian Wienand
<ianw@vmware.com>
Sun, 28 Aug 2011 04:53:20 +0000
(06:53 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sun, 28 Aug 2011 04:53:20 +0000
(06:53 +0200)
Signed-off-by: Ian Wienand <ianw@vmware.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
findutils/find.c
patch
|
blob
|
history
diff --git
a/findutils/find.c
b/findutils/find.c
index 05f88d2f0ca3f592c38c4008f39b5b243af42e0b..fc0fc5c9fc08ab39c6889967f487cf92adecec17 100644
(file)
--- a/
findutils/find.c
+++ b/
findutils/find.c
@@
-932,7
+932,10
@@
static action*** parse_params(char **argv)
* expression is reached.
*/
/* Options */
- if (0) { }
+ if (parm == OPT_FOLLOW) {
+ dbg("follow enabled: %d", __LINE__);
+ G.recurse_flags |= ACTION_FOLLOWLINKS | ACTION_DANGLING_OK;
+ }
#if ENABLE_FEATURE_FIND_XDEV
else if (parm == OPT_XDEV) {
dbg("%d", __LINE__);