wrowe 01/09/20 10:21:01
Modified: threadproc/win32 proc.c
Log:
No longer... win32's pid is a _pid_, hproc is the process handle.
Revision Changes Path
1.57 +1 -1 apr/threadproc/win32/proc.c
Index: proc.c
===================================================================
RCS file: /home/cvs/apr/threadproc/win32/proc.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- proc.c 2001/09/20 08:59:31 1.56
+++ proc.c 2001/09/20 17:21:01 1.57
@@ -556,7 +556,7 @@
time = 0;
if ((stat = WaitForSingleObject(proc->hproc, time)) == WAIT_OBJECT_0) {
- if (GetExitCodeProcess((HANDLE)proc->pid, &stat)) {
+ if (GetExitCodeProcess(proc->hproc, &stat)) {
if (exitcode)
*exitcode = (apr_wait_t)stat;
CloseHandle(proc->hproc);