allow dfhack to run inside valgrind
valgrind replaces the readlink system call, but not the open system call. By calling readlink first, we guarantee that /proc/self/exe is the actual Dwarf Fortress executable and not the valgrind executable. See also: https://bugs.kde.org/show_bug.cgi?id=86921develop
parent
d063155b87
commit
ea9261f5b5
Loading…
Reference in New Issue