Hash :
ddfcbc95
Author :
Date :
2022-11-02T18:14:15
scratch_buffer: adjust to glibc changes Problem reported by Karl Berry in: https://lists.gnu.org/r/bug-gnulib/2022-11/msg00004.html * build-aux/depcomp, doc/make-stds.texi, lib/malloc/scratch_buffer.h: Autoupdate. * build-aux/install-reloc (func_create_wrapper): Omit removed file scratch_buffer_dupfree.c. * config/srclist.txt: Remove lib/malloc/scratch_buffer_dupfree.c * lib/canonicalize-lgpl.c: Merge changes from glibc through its commit ef0700004bf0dccf493a5e8e21f71d9e7972ea9f dated 2022-07-05 11:04:45 +0200. (__strdup) [!_LIBC]: New macro. (struct realpath_bufs): New type. (realpath_stk): Use it as the extra argument. All uses changed. No longer any need for noinline or GCC_BOGUS_WRETURN_LOCAL_ADDR. * lib/canonicalize.c (struct realpath_bufs) (canonicalize_filename_mode_stk): Likewise. * lib/malloc/scratch_buffer_dupfree.c: Remove, since it was removed in glibc. * lib/scratch_buffer.h (scratch_buffer_dupfree) [0]: (__libc_scratch_buffer_dupfree): Remove decls. * modules/relocatable-prog-wrapper (Files): * modules/scratch_buffer (Files, lib_SOURCES): Remove lib/malloc/scratch_buffer_dupfree.c.
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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
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/scratch_buffer.h
lib/malloc/scratch_buffer.h
lib/malloc/scratch_buffer_grow.c
lib/malloc/scratch_buffer_grow_preserve.c
lib/malloc/scratch_buffer_set_array_size.c
lib/malloc.c
lib/realloc.c
lib/free.c
lib/mempcpy.c
lib/rawmemchr.c
lib/malloca.h
lib/malloca.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/lstat.m4
m4/eealloc.m4
m4/environ.m4
m4/free.m4
m4/malloc.m4
m4/mempcpy.m4
m4/rawmemchr.m4
m4/readlink.m4
m4/realloc.m4
m4/relocatable-lib.m4
m4/setenv.m4
Depends-on:
assert-h
c99
double-slash-root
eloop-threshold
environ
errno
fcntl-h
filename
idx
intprops
largefile
libc-config
pathmax
ssize_t
stdalign
stdbool
stddef
stdckdint
stdint
stdlib
string
sys_stat
unistd
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_FUNC_MALLOC_POSIX
gl_FUNC_REALLOC_POSIX
gl_FUNC_FREE
gl_FUNC_MEMPCPY
gl_FUNC_RAWMEMCHR
gl_MALLOCA
gl_RELOCATABLE_LIBRARY
gl_FUNC_SETENV_SEPARATE
Makefile.am:
Include:
License:
GPL
Maintainer:
Ben Pfaff