This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 04/13/2017 02:21 PM, Andreas Schwab wrote:
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.

I'm not sure if it's possible to wrap lines there without altering the Info output.

I'll change it to:

* Replacing malloc:: Using your own @code{malloc}-style allocator.

(On a single line, in case Thunderbird wraps it.) This should avoid the issue.

+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.

Thanks, fixed.

Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]