| 1 | diff -u -r ../elfutils-0.166/libdwfl/libdwflP.h ./libdwfl/libdwflP.h |
| 2 | --- ../elfutils-0.166/libdwfl/libdwflP.h 2016-01-12 07:49:19.000000000 -0500 |
| 3 | +++ ./libdwfl/libdwflP.h 2016-05-04 13:21:07.997599838 -0400 |
| 4 | @@ -771,5 +771,10 @@ |
| 5 | /* The default used by dwfl_standard_find_debuginfo. */ |
| 6 | #define DEFAULT_DEBUGINFO_PATH ":.debug:/usr/lib/debug" |
| 7 | |
| 8 | + /* canonicalize_file_name GNU extension - http://man7.org/linux/man-pages/man3/canonicalize_file_name.3.html */ |
| 9 | +inline static char* canonicalize_file_name(const char *path) |
| 10 | +{ |
| 11 | + return realpath(path, NULL); |
| 12 | +} |
| 13 | |
| 14 | #endif /* libdwflP.h */ |