mailing list of musl libc
 help / color / mirror / code / Atom feed
69ad5479db4be90deffef7f10e4cd94401e4df25 blob 205 bytes (raw)

1
2
3
4
5
6
7
8
9
 
#include <malloc.h>
#include "malloc_impl.h"

hidden void *(*const __realloc_dep)(void *, size_t) = realloc;

size_t malloc_usable_size(void *p)
{
	return p ? CHUNK_SIZE(MEM_TO_CHUNK(p)) - OVERHEAD : 0;
}
debug log:

solving 69ad5479 ...
found 69ad5479 in https://inbox.vuxu.org/musl/20220503155655.11222-2-jmaselbas@kalray.eu/ ||
	https://inbox.vuxu.org/musl/20220504122426.11529-2-jmaselbas@kalray.eu/
found 672b518a in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 672b518ad0ef15d9b3ad19a0538c6490aa88ca63	src/malloc/oldmalloc/malloc_usable_size.c

applying [1/2] https://inbox.vuxu.org/musl/20220503155655.11222-2-jmaselbas@kalray.eu/
diff --git a/src/malloc/oldmalloc/malloc_usable_size.c b/src/malloc/oldmalloc/malloc_usable_size.c
index 672b518a..69ad5479 100644

Checking patch src/malloc/oldmalloc/malloc_usable_size.c...
Applied patch src/malloc/oldmalloc/malloc_usable_size.c cleanly.

skipping https://inbox.vuxu.org/musl/20220504122426.11529-2-jmaselbas@kalray.eu/ for 69ad5479
index at:
100644 69ad5479db4be90deffef7f10e4cd94401e4df25	src/malloc/oldmalloc/malloc_usable_size.c

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).