[PATCH v2 4/4] Remove unused scratch_buffer_dupfree

Florian Weimer fweimer@redhat.com
Fri Oct 28 17:06:16 GMT 2022


* Szabolcs Nagy via Libc-alpha:

> Turns out scratch_buffer_dupfree internal API was unused since
>
> commit ef0700004bf0dccf493a5e8e21f71d9e7972ea9f
> stdlib: Simplify buffer management in canonicalize
>
> And the related test in malloc/tst-scratch_buffer had issues
> so it's better to remove it completely.
>
> ---
> v2: remove all reference to scratch_buffer_dupfree
> ---
>  include/scratch_buffer.h        | 16 -------------
>  malloc/Makefile                 |  1 -
>  malloc/scratch_buffer_dupfree.c | 41 ---------------------------------
>  malloc/tst-scratch_buffer.c     | 20 ----------------
>  4 files changed, 78 deletions(-)
>  delete mode 100644 malloc/scratch_buffer_dupfree.c

Please also update malloc/Versions.  Rest looks okay.  No need to send
a new version.

Reviewed-by: Florian Weimer <fweimer@redhat.com>

Thanks,
Florian



More information about the Libc-alpha mailing list