]> Savannah Git Hosting - gnulib.git/commit
scratch_buffer: adjust to glibc changes
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 3 Nov 2022 01:14:15 +0000 (18:14 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 3 Nov 2022 01:15:10 +0000 (18:15 -0700)
commitddfcbc95a6be3ddc588a93f21edb69cc7c214d9c
treed85e36b38c4b4b350684df0a402a902e58d45557
parent1c3da1d369d6a204222c747cc91f590adad7cfe1
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.
12 files changed:
ChangeLog
build-aux/depcomp
build-aux/install-reloc
config/srclist.txt
doc/make-stds.texi
lib/canonicalize-lgpl.c
lib/canonicalize.c
lib/malloc/scratch_buffer.h
lib/malloc/scratch_buffer_dupfree.c [deleted file]
lib/scratch_buffer.h
modules/relocatable-prog-wrapper
modules/scratch_buffer