fix a critical bug in windows.osproc leading to resource leaks and blocking IO [backport] (#14296)

This commit is contained in:
Timothee Cour 2020-05-11 02:14:21 -07:00 • committed by GitHub
commit d11cb9d495
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 36 additions and 1 deletions

View file

@ -31,6 +31,8 @@ type
ULONG* = int32
PULONG* = ptr int
WINBOOL* = int32
## `WINBOOL` uses opposite convention as posix, !=0 meaning success.
# xxx this should be distinct int32, distinct would make code less error prone
DWORD* = int32
PDWORD* = ptr DWORD
LPINT* = ptr int32