Pádraig Brady <[email protected]> writes:

> On 22/11/2025 04:59, Collin Funk wrote:
>> I wonder if we can remove the fallback for platforms without
>> sigaction. Gnulib doesn't document it missing for any platforms other
>> than Windows, which it has a implementation for [1]. WDYT?
>
> Good point. We already depend on the sigaction gnulib module.
> In fact csplit depends on sigaction being available since 2008:
> https://github.com/coreutils/coreutils/commit/ddc409b59
> I'll post a follow up to also do this for ls,dd,sort.

Great, thanks!

>> Should we #ifdef any of the signals not specified by ISO C? That is
>> SIGABRT, SIGFPE, SIGILL, SIGINT, SIGSEGV, and SIGTERM.
>
> I don't think that is needed. We can add ifdefs if we every hit a build issue.

Windows only supports the ISO C signals, but we can't build there
anyways. I'll check the build on Cygwin later, since I am not sure how
many they emulate.

Collin

Reply via email to