public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] malloc doc fixes for alignment
@ 2026-02-12 18:18 Paul Eggert
  2026-02-12 18:18 ` [PATCH v3 1/4] Document max_align_t Paul Eggert
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Paul Eggert @ 2026-02-12 18:18 UTC (permalink / raw)
  To: libc-alpha; +Cc: Paul Eggert

This patch series affects only the manual.  Tt adds documentation for
max_align_t and documents how malloc and friends align their results.
Also, it says that systems where malloc (0) returns NULL are now rare,
and reorganizes for clarity to separate examples from portability notes.

v3 incorporates comments from DJ Delorie in:
https://sourceware.org/pipermail/libc-alpha/2026-February/175060.html
https://sourceware.org/pipermail/libc-alpha/2026-February/175061.html
https://sourceware.org/pipermail/libc-alpha/2026-February/175062.html

v2 incorporated comments from Floriam Weimer and Wilco Dijkstra in:
https://sourceware.org/pipermail/libc-alpha/2026-February/174910.html
https://sourceware.org/pipermail/libc-alpha/2026-February/174994.html
https://sourceware.org/pipermail/libc-alpha/2026-February/174911.html
https://sourceware.org/pipermail/libc-alpha/2026-February/174916.html
As a result there is now a new, 4th patch that adds documentation on
possible future changes.

Paul Eggert (4):
  Document max_align_t
  Document malloc alignment
  Say malloc (0) != NULL is now common; resection
  malloc: alignment might change in future versions

 NEWS               |   7 ++-
 manual/lang.texi   |  28 +++++++---
 manual/memory.texi | 131 ++++++++++++++++++++++++++++++++++++---------
 3 files changed, 131 insertions(+), 35 deletions(-)

--
2.51.0


^ permalink raw reply	[flat|nested] 16+ messages in thread
* [PATCH 0/2] document improvements for max_align_t, intmax_t
@ 2026-03-15 20:32 Paul Eggert
  2026-03-15 20:32 ` [PATCH 1/2] doc: document max_align_t effect on ABI Paul Eggert
  0 siblings, 1 reply; 16+ messages in thread
From: Paul Eggert @ 2026-03-15 20:32 UTC (permalink / raw)
  To: libc-alpha; +Cc: Paul Eggert

This follows up on my previous patchset to document max_align_t.
This patchset mentions the hazards of using intmax_t or max_align_t in
an external API, and documents that there can be integer types wider
than intmax_t.

Paul Eggert (2):
  doc: document max_align_t effect on ABI
  doc: document C23 changes to intmax_t

 manual/arith.texi | 20 ++++++++++++++++----
 manual/lang.texi  |  8 +++++++-
 2 files changed, 23 insertions(+), 5 deletions(-)

--
2.51.0


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2026-03-18  1:44 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-12 18:18 [PATCH v3 0/4] malloc doc fixes for alignment Paul Eggert
2026-02-12 18:18 ` [PATCH v3 1/4] Document max_align_t Paul Eggert
2026-02-26 12:41   ` Florian Weimer
2026-02-12 18:18 ` [PATCH v3 2/4] Document malloc alignment Paul Eggert
2026-02-26 12:53   ` Florian Weimer
2026-02-26 12:56     ` Florian Weimer
2026-02-26 13:17       ` Florian Weimer
2026-02-12 18:18 ` [PATCH v3 3/4] Say malloc (0) != NULL is now common; resection Paul Eggert
2026-02-26 13:15   ` Florian Weimer
2026-02-12 18:18 ` [PATCH v3 4/4] malloc: alignment might change in future versions Paul Eggert
2026-02-26 12:47   ` Florian Weimer
2026-02-26 18:41     ` Paul Eggert
2026-02-26 18:38       ` [PATCH 1/2] doc: document max_align_t effect on ABI Paul Eggert
2026-02-26 18:38         ` [PATCH 2/2] doc: document C23 changes to intmax_t Paul Eggert
2026-03-15 20:32 [PATCH 0/2] document improvements for max_align_t, intmax_t Paul Eggert
2026-03-15 20:32 ` [PATCH 1/2] doc: document max_align_t effect on ABI Paul Eggert
2026-03-18  1:44   ` DJ Delorie

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 read-only IMAP folder(s) and NNTP newsgroup(s).