]> git.99rst.org Git - git.git/commit
compat/winansi: check for errors of CreateThread() correctly
authorSeija Kijin <redacted>
Wed, 1 Feb 2023 22:20:33 +0000 (22:20 +0000)
committerJunio C Hamano <redacted>
Wed, 1 Feb 2023 22:36:19 +0000 (14:36 -0800)
commit592bcab61b86dbbac6fd2366039b4837b306ed66
treeb94c0df8a3cfa6573f0ec3aa4c0d04fa829a2497
parent844ede312b4e988881b6e27e352f469d8ab80b2a
compat/winansi: check for errors of CreateThread() correctly

The return value for failed thread creation is NULL,
not INVALID_HANDLE_VALUE, unlike other Windows API functions.

Signed-off-by: Seija Kijin <redacted>
Acked-by: Johannes Sixt <redacted>
Signed-off-by: Junio C Hamano <redacted>
compat/winansi.c
git clone https://git.99rst.org/PROJECT