malloc: Add scratch_buffer_dupfree
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 28 Dec 2020 12:50:23 +0000 (09:50 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 5 Jan 2021 14:33:16 +0000 (11:33 -0300)
commit448a256359e951fd2e81ccb2926e3f2b1d7a09de
treea0eb770538013c697f378a35cc035f033381d44f
parent47f43160953677faf33853359ee7b973dc487139
malloc: Add scratch_buffer_dupfree

It returns a copy of the buffer up to a defined size.  It will be used
on realpath sync with gnulib.
include/scratch_buffer.h
malloc/Makefile
malloc/Versions
malloc/scratch_buffer_dupfree.c [new file with mode: 0644]
malloc/tst-scratch_buffer.c