Thread (47 messages) flat view 47 messages, 3 authors, 2016-06-15

Re: [PATCH v2 06/14] mingw: use real pid

From: Johannes Sixt <hidden>
Date: 2016-06-15 22:48:02

On Freitag, 15. Januar 2010, Erik Faye-Lund wrote:
quoted hunk ↗ jump to hunk
@@ -729,7 +729,7 @@ static pid_t mingw_spawnve(const char *cmd, const char
**argv, char **env, return -1;
 	}
 	CloseHandle(pi.hThread);
-	return (pid_t)pi.hProcess;
+	return (pid_t)pi.dwProcessId;
 }
You are not using the pi.hProcess anymore, so you must close it.

-- Hannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help