Mercurial > gnulib
view lib/.cppi-disable @ 40189:3ba41edecde6
progreloc: Speed up executable lookup on various platforms.
* lib/progreloc.c: Include <errno.h>.
(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.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 19 Feb 2019 21:42:54 +0100 |
parents | 86e5cbcc71db |
children |
line wrap: on
line source
alloca.in.h error.h exit.h fnmatch.in.h fts.c fts_.h getaddrinfo.h getdelim.h getline.h getndelim2.h getopt.c getopt.h getopt1.c getopt.in.h getopt_int.h getpagesize.h getpass.c gettext.h localcharset.h malloca.h mbchar.h mbuiter.h md5.h obstack.h printf-args.h printf-parse.h regcomp.c regex.c regex.h regex_internal.c regex_internal.h stat-time.h stdbool.in.h stdint.in.h strnlen1.h strtoul.c sys_socket.in.h time_r.h utimecmp.h vasnprintf.h vasprintf.h