diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-11-02 18:14:15 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-11-02 18:15:10 -0700 |
commit | ddfcbc95a6be3ddc588a93f21edb69cc7c214d9c (patch) | |
tree | d85e36b38c4b4b350684df0a402a902e58d45557 /build-aux | |
parent | 1c3da1d369d6a204222c747cc91f590adad7cfe1 (diff) | |
download | gnulib-ddfcbc95a6be3ddc588a93f21edb69cc7c214d9c.tar.gz |
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.
Diffstat (limited to 'build-aux')
-rwxr-xr-x | build-aux/depcomp | 4 | ||||
-rwxr-xr-x | build-aux/install-reloc | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/build-aux/depcomp b/build-aux/depcomp index 75323b7392..703eed2750 100755 --- a/build-aux/depcomp +++ b/build-aux/depcomp @@ -1,7 +1,7 @@ #! /bin/sh # depcomp - compile a program generating dependencies as side-effects -scriptversion=2018-03-07.03; # UTC +scriptversion=2022-09-18.14; # UTC # Copyright (C) 1999-2022 Free Software Foundation, Inc. @@ -197,7 +197,7 @@ gcc3) ;; gcc) -## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. +## Note that this doesn't just cater to obsolete pre-3.x GCC compilers. ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. ## (see the conditional assignment to $gccflag above). ## There are various ways to get dependency output from gcc. Here's diff --git a/build-aux/install-reloc b/build-aux/install-reloc index 63aeb9af1c..22739681ae 100755 --- a/build-aux/install-reloc +++ b/build-aux/install-reloc @@ -237,7 +237,6 @@ func_create_wrapper () "$srcdir"/readlink.c \ "$srcdir"/stat.c \ "$srcdir"/canonicalize-lgpl.c \ - "$srcdir"/malloc/scratch_buffer_dupfree.c \ "$srcdir"/malloc/scratch_buffer_grow.c \ "$srcdir"/malloc/scratch_buffer_grow_preserve.c \ "$srcdir"/malloc/scratch_buffer_set_array_size.c \ @@ -263,7 +262,6 @@ func_create_wrapper () readlink.o \ stat.o \ canonicalize-lgpl.o \ - scratch_buffer_dupfree.o \ scratch_buffer_grow.o \ scratch_buffer_grow_preserve.o \ scratch_buffer_set_array_size.o \ |