Re: [PATCH 1/3] compat/posix.h: track SA_RESTART fallback
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 24, 2025, 16:28 UTC
- Message-ID
- <xmqqy0thyuhf.fsf@gitster.g>
- In-Reply-To
- <2b5a58e53ac68e39a72e23bb40b386366ff03485.1750774122.git.gitgitgadget@gmail.com>
"Carlo Marcelo Arenas Belón via GitGitGadget" <gitgitgadget@gmail.com> writes:
Two references to Documentation/CodingGuidelines
> +/* On most systems <signal.h> would have given us this, but > + * not on some systems (e.g. NonStop, QNX). > + */
- Multi-line comments include their delimiters on separate lines from the text.
> +#ifndef SA_RESTART > +#define SA_RESTART 0 /* disabled for sigaction() */ > +#endif
- Nested C preprocessor directives are indented after the hash by one space per nesting level.