diff options
Diffstat (limited to 'main/elfutils/musl-canonicalize_file_name.patch')
-rw-r--r-- | main/elfutils/musl-canonicalize_file_name.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/main/elfutils/musl-canonicalize_file_name.patch b/main/elfutils/musl-canonicalize_file_name.patch deleted file mode 100644 index 60e22bb5bb..0000000000 --- a/main/elfutils/musl-canonicalize_file_name.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/libdwfl/dwfl_build_id_find_elf.c 2015-10-12 12:22:58.000000000 +0200 -+++ b/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; ---- a/libdwfl/find-debuginfo.c 2015-10-12 12:22:58.000000000 +0200 -+++ b/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, |