Skip to content

Commit ddfc3f5

Browse files
committed
fixup! mingw: spawned processes need to inherit only standard handles
1 parent 52f89a9 commit ddfc3f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compat/mingw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1767,7 +1767,7 @@ static pid_t mingw_spawnve_fd(const char *cmd, const char **argv, char **deltaen
17671767
!(err == ERROR_INVALID_PARAMETER &&
17681768
GetVersion() >> 16 < 9200) &&
17691769
!getenv("SUPPRESS_HANDLE_INHERITANCE_WARNING")) {
1770-
DWORD fl;
1770+
DWORD fl = 0;
17711771
int i;
17721772

17731773
setenv("SUPPRESS_HANDLE_INHERITANCE_WARNING", "1", 1);

0 commit comments

Comments
 (0)