commit | 68a7a771ad0e2959983729bf88cbc74a7014438f | [log] [tgz] |
---|---|---|
author | Franck Bui-Huu <fbuihuu@gmail.com> | Fri Dec 10 22:06:26 2010 +0100 |
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | Thu Dec 16 09:41:45 2010 -0200 |
tree | 6d63982c1bd04aa461b4fdb59996cf6faad6fba4 | |
parent | c3a34e06db25a8c74e196517732d65cdb56028ec [diff] |
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>