diff options
author | Franck Bui-Huu <fbuihuu@gmail.com> | 2010-12-10 22:06:26 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-12-16 09:41:45 -0200 |
commit | 68a7a771ad0e2959983729bf88cbc74a7014438f (patch) | |
tree | 6d63982c1bd04aa461b4fdb59996cf6faad6fba4 /tools/perf/builtin-buildid-list.c | |
parent | c3a34e06db25a8c74e196517732d65cdb56028ec (diff) | |
download | linux-68a7a771ad0e2959983729bf88cbc74a7014438f.tar.bz2 |
perf buildid-cache: Fix symbolic link handling
This was broken since link(2) doesn't dereference symbolic
links. Instead 'filename' becomes a symbolic link to the same file
that 'name' refers to.
This had the bad effect to create dangling symlinks in the case that
even can't be removed with perf-buildid-cache(1).
LKML-Reference: <m38vzxxrql.fsf@gmail.com>
Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-buildid-list.c')
0 files changed, 0 insertions, 0 deletions