[PATCH] manual: Document replacing malloc [BZ #20424]

Andreas Schwab schwab@suse.de
Thu Apr 13 12:21:00 GMT 2017


On Apr 13 2017, fweimer@redhat.com (Florian Weimer) wrote:

> diff --git a/manual/memory.texi b/manual/memory.texi
> index 38d3c3a..adf3f89 100644
> --- a/manual/memory.texi
> +++ b/manual/memory.texi
> @@ -167,6 +167,7 @@ special to @theglibc{} and GNU Compiler.
>  * Unconstrained Allocation::    The @code{malloc} facility allows fully general
>  		 		 dynamic allocation.
>  * Allocation Debugging::        Finding memory leaks and not freed memory.
> +* Replacing malloc::            You can use your own @code{malloc}-style allocator.

This line is too long.

> +It is possible to use your own custom @code{malloc} instead of the
> +built-in allocator provided by @theglibc{}.  @xref{Replacing malloc}

Period after @xref.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list