Hash :
7b1de4a6
Author :
Date :
2020-04-10T15:57:10
findprog, relocatable-prog: Ignore directories during PATH search. Reported by Frederick Eaton via Dmitry Goncharov in <https://lists.gnu.org/archive/html/bug-gnulib/2020-03/msg00003.html>. * lib/findprog.c (find_in_path): When the file found in a PATH element is a directory, continue searching. * modules/findprog (Depends-on): Add sys_stat, stat. * modules/findprog-lgpl (Depends-on): Likewise. * lib/progreloc.c (maybe_executable): When the file found in a PATH element is a directory, continue searching. * lib/relocwrapper.c: Update comments. * modules/relocatable-prog-wrapper (Files): Add m4/largefile.m4. (configure.ac-early): New section.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
Description:
Source for the wrapper program that is required for making programs relocatable
that depend on shared libraries installed with the same installation prefix.
Files:
build-aux/install-reloc
lib/relocwrapper.c
lib/progname.h
lib/progname.c
lib/progreloc.c
lib/areadlink.h
lib/areadlink.c
lib/careadlinkat.h
lib/careadlinkat.c
lib/allocator.h
lib/allocator.c
lib/readlink.c
lib/stat.c
lib/canonicalize-lgpl.c
lib/malloca.h
lib/malloca.c
lib/lstat.c
lib/relocatable.h
lib/relocatable.c
lib/setenv.c
lib/c-ctype.h
lib/c-ctype.c
m4/largefile.m4
m4/malloca.m4
m4/canonicalize.m4
m4/eealloc.m4
m4/environ.m4
m4/readlink.m4
m4/relocatable-lib.m4
m4/setenv.m4
Depends-on:
alloca-opt
double-slash-root
errno
filename
largefile
pathmax
ssize_t
stdbool
stdint
stdlib
unistd
environ
string
verify
xalloc-oversized
configure.ac-early:
AC_REQUIRE([AC_SYS_LARGEFILE])
configure.ac:
AC_REQUIRE([AC_C_RESTRICT])
gl_FUNC_READLINK_SEPARATE
gl_CANONICALIZE_LGPL_SEPARATE
gl_MALLOCA
gl_RELOCATABLE_LIBRARY
gl_FUNC_SETENV_SEPARATE
Makefile.am:
Include:
License:
GPL
Maintainer:
Ben Pfaff