find: -follow should not error out on dandling links
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 29 Sep 2009 09:07:04 +0000 (11:07 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 29 Sep 2009 09:07:04 +0000 (11:07 +0200)
commit8f7a6d294fd0940e531bb8fef197b1b74fe2a842
tree50e60d97d4d5922db6924fa8b423807a9559a06b
parent2f3f09c287f43dcad50b740793c2b467f166c058
find: -follow should not error out on dandling links

function                                             old     new   delta
recursive_action                                     425     465     +40
find_main                                            436     465     +29
test_main                                            247     253      +6
need_print                                             1       -      -1
doCommands                                          2523    2521      -2
compare_keys                                         737     735      -2
xdev_dev                                               4       -      -4
xdev_count                                             4       -      -4
recurse_flags                                          4       -      -4
mkfs_vfat_main                                      1609    1605      -4
actions                                                4       -      -4
fileAction                                           588     583      -5
------------------------------------------------------------------------------
(add/remove: 0/5 grow/shrink: 3/4 up/down: 75/-30)             Total: 45 bytes
   text    data     bss     dec     hex filename
 822711     450    7684  830845   cad7d busybox_old
 822773     445    7668  830886   cada6 busybox_unstripped

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
findutils/find.c
include/libbb.h
libbb/recursive_action.c