From 7c2fbbd6d32c906c709804f873b67308d1ab46e2 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 21 Mar 2024 14:19:08 +0000 Subject: [PATCH] [CLIBABI32] Restore missing reference to EDOM. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I just noticed a paragraph that was grammatically confusing because it contained a comma with no word before it, and an equality with no left-hand side. It looks to me as if the macro name EDOM was accidentally deleted in both cases. (Rationale: EDOM is an error code closely related to ERANGE, and matches the claim in the paragraph that its consensus value is 33 – that's its value on Linux, for example.) Searching for ERANGE in the rest of the document turned up another two places where there was a missing word that looked as if it ought to be "EDOM". I've no idea how this happened! But it seems like an easy fix. --- clibabi32/clibabi32.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/clibabi32/clibabi32.rst b/clibabi32/clibabi32.rst index 2304981..3efbc4a 100644 --- a/clibabi32/clibabi32.rst +++ b/clibabi32/clibabi32.rst @@ -828,9 +828,9 @@ Grey list items are a little more difficult. There are two options. - Treat the consensus members as *white* and the remainder as *black*. -Consider , ERANGE, and EILSEQ from errno.h. This is a grey list category -because there is consensus that = 33 and ERANGE = 34, but no consensus -(even among Unix-like implementations) about EILSEQ. +Consider EDOM, ERANGE, and EILSEQ from errno.h. This is a grey list +category because there is consensus that EDOM = 33 and ERANGE = 34, +but no consensus (even among Unix-like implementations) about EILSEQ. In practice, these values will be rarely accessed by portable code, so there is no associated performance or size issue, and they should all be @@ -1346,8 +1346,8 @@ We define it as shown in `errno.h definitions`_ :class: note There seems to be general agreement on 33 and 34, the long established Unix - values of and ERANGE. There is little consensus about EILSEQ. 47 is claimed - to be the IEEE 1003.1 POSIX value. + values of EDOM and ERANGE. There is little consensus about EILSEQ. 47 is + claimed to be the IEEE 1003.1 POSIX value. float.h ------- @@ -2104,7 +2104,7 @@ Summary of requirements on C Libraries +--------------+----------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | ctype..h | Yes | Must define **is**\ xxxx(c) to be ((**is**\ xxxx)(c)) etc [no inline implementation] or implement the inline versions as described in `ctype.h when \_AEABI\_PORTABILITY\_LEVEL != 0 and isxxxxx inline`_. | +--------------+----------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ - | errno.h | Yes | errno is (\*\_\_aeabi\_errno()); , ERANGE, etc are link-time constants (`errno.h definitions`_) | + | errno.h | Yes | errno is (\*\_\_aeabi\_errno()); EDOM, ERANGE, etc are link-time constants (`errno.h definitions`_) | +--------------+----------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | float.h | No | | +--------------+----------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+