Re: What's cooking in git.git (Jul 2025, #02; Mon, 7)
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Jul 10, 2025, 07:18 UTC
- Message-ID
- <51208670-eccc-493f-8a60-2bc9e3a70801@kdbg.org>
- In-Reply-To
- <tuglsm3r64mkgzdh2zdrewpzydz7xmyatqxwbbzpqmltwseefc@65cbcs3pq2qg>
Am 10.07.25 um 06:25 schrieb Carlo Marcelo Arenas Belón:
Show 7 quoted lines
> In d28250654f (Windows: Fix signal numbers, 2009-01-22), the value for > SIGCHLD was changed from 0 to 17 mentioning some sort of POSIX system. > > the relevance comes that if I build a program in Windows that calls > `signal(SIGCHLD)` using that number I get an error back, but nothing > on errno, but if the number would be instead 20, like in Cygwin/macOS > suddenly the behaviour changes and we get the expected EINVAL(20) in errno.
> So do you have any objection on changing the value (which should be otherwise > unused, and irrelevanted as you pointed out) to 20 then?
I do not object to change the number. Nevertheless, I would like to understand why it makes a difference. (Currently, I am unable to look into this myself, though.)
-- Hannes