Thread (33 messages) 33 messages, 5 authors, 2025-10-29

Re: [PATCH v2 3/5] alloca.3: clarify reasoning for no error return in BUGS

From: наб <hidden>
Date: 2021-09-17 20:35:37

On Wed, Sep 15, 2021 at 09:42:26PM +0200, Alejandro Colomar (man-pages) wrote:
On 9/14/21 2:41 PM, наб wrote:
quoted
diff --git a/man3/alloca.3 b/man3/alloca.3
index 71348e609..20761b079 100644
--- a/man3/alloca.3
+++ b/man3/alloca.3
-There is no error indication if the stack frame cannot be extended.
-(However, after a failed allocation, the program is likely to receive a
+Due to the nature of the stack, it is impossible to check if the allocation
+would overflow the space available, and, hence, neither is indicating an error.
I'm not sure this use of neither (without a preceding "not") is valid
English.  Is it?
I don't see why not: "impossible" provides the first negation
(the "not" is lives in the "in-" prefix
 (well, "im-" because it's before a bilabial plosive),
 and "neither" is in its "likewise not" adverbial use).

наб

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help