This set of patches improve the platform specific code in progreloc.c. Most BSD systems and Solaris nowadays have a way to retrieve the name of the current executable, in a way similar to /proc/self/exe on Linux. 2019-02-19 Bruno Haible progreloc: Simplify code for Android. * lib/progreloc.c (executable_fd): Don't define on Android. (maybe_executable, find_executable): Don't use executable_fd on Android. 2019-02-19 Bruno Haible progreloc: Speed up executable lookup on various platforms. * lib/progreloc.c: Include . (safe_read, full_read): New functions. (find_executable): On GNU/kFreeBSD, FreeBSD, DragonFly, NetBSD, Solaris, prefer the information from the /proc file system to a PATH search.