23 lines
886 B
Diff
23 lines
886 B
Diff
--- libdwfl/dwfl_build_id_find_elf.c 2015-10-12 12:22:58.000000000 +0200
|
|
+++ libdwfl/dwfl_build_id_find_elf.c 2015-11-20 05:13:10.972994172 +0100
|
|
@@ -94,7 +94,7 @@
|
|
{
|
|
if (*file_name != NULL)
|
|
free (*file_name);
|
|
- *file_name = canonicalize_file_name (name);
|
|
+ *file_name = realpath (name, NULL);
|
|
if (*file_name == NULL)
|
|
{
|
|
*file_name = name;
|
|
--- libdwfl/find-debuginfo.c 2015-10-12 12:22:58.000000000 +0200
|
|
+++ libdwfl/find-debuginfo.c 2015-11-20 05:18:56.990967176 +0100
|
|
@@ -372,7 +372,7 @@
|
|
/* If FILE_NAME is a symlink, the debug file might be associated
|
|
with the symlink target name instead. */
|
|
|
|
- char *canon = canonicalize_file_name (file_name);
|
|
+ char *canon = realpath (file_name, NULL);
|
|
if (canon != NULL && strcmp (file_name, canon))
|
|
fd = find_debuginfo_in_path (mod, canon,
|
|
debuglink_file, debuglink_crc,
|