Commit 1afc36e
committed
Windows: Fix buffer size of QueryInformationJobObject request
As noted in GHC #17926, the QueryInformationJobObject system call
apparently relies on the buffer size in addition to the
NumberOfAssignedProcesses field to determine how many results it should
return. For this reason it's important that we pass the true size of the
buffer to the call.1 parent 8fffea5 commit 1afc36e
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
862 | 862 | | |
863 | 863 | | |
864 | 864 | | |
| 865 | + | |
| 866 | + | |
865 | 867 | | |
866 | | - | |
| 868 | + | |
867 | 869 | | |
868 | 870 | | |
869 | 871 | | |
| |||
872 | 874 | | |
873 | 875 | | |
874 | 876 | | |
875 | | - | |
| 877 | + | |
876 | 878 | | |
877 | 879 | | |
878 | 880 | | |
| |||
0 commit comments