Skip to content

Commit 757e8b2

Browse files
authored
Merge pull request #174 from bgamari/master
Revert "Check return value of QueryInformationJobObject"
2 parents e9b950c + 758d2f7 commit 757e8b2

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

cbits/runProcess.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -875,11 +875,6 @@ waitForJobCompletion ( HANDLE hJob )
875875
sizeof(JOBOBJECT_BASIC_PROCESS_ID_LIST),
876876
NULL);
877877

878-
if (!success) {
879-
maperrno();
880-
return false;
881-
}
882-
883878
if (!success && GetLastError() == ERROR_MORE_DATA) {
884879
process_count *= 2;
885880
free(pid_list);

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased changes
44

5+
## 1.6.8.2 *March 2020*
6+
7+
* Fix another process wait bug on Windows.
8+
59
## 1.6.8.1 *March 2020*
610

711
* Fix a few warnings on Windows.

process.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: process
2-
version: 1.6.8.1
2+
version: 1.6.8.2
33
-- NOTE: Don't forget to update ./changelog.md
44
license: BSD3
55
license-file: LICENSE

0 commit comments

Comments
 (0)