]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdwfl: Use realpath (name, NULL) instead of canonicalize_file_name (name).
authorMark Wielaard <mark@klomp.org>
Mon, 5 Mar 2018 13:23:14 +0000 (14:23 +0100)
committerMark Wielaard <mark@klomp.org>
Fri, 9 Mar 2018 23:17:39 +0000 (00:17 +0100)
commit06263dda990be6778a4beb33481cfd39ce60c623
tree83bc07c1d2ced748f40956eb930b03d8ac4ce49b
parentfd0cee63fb02455a5021ca298da8dadb4df63a9a
libdwfl: Use realpath (name, NULL) instead of canonicalize_file_name (name).

Some systems apparently don't provide canonicalize_file_name. Since
canonicalize_file_name (path) is defined as realpath(path, NULL) just
use realpath everywhere.

https://sourceware.org/bugzilla/show_bug.cgi?id=21009

Signed-off-by: Mark Wielaard <mark@klomp.org>
libdwfl/ChangeLog
libdwfl/dwfl_build_id_find_elf.c
libdwfl/find-debuginfo.c