w32_sigchld_handler ();
CloseHandle (h);
+ return 0;
}
#endif
HANDLE stdin_handle;
HANDLE stdout_handle;
#endif
- char *fn;
- int len;
+ char *fn = NULL;
char path[MAX_PATH + 1];
cmdlen = 0;
start.hStdOutput = stdout_handle;
}
#endif
- if (FindExecutable(filename, NULL, path) <= 32)
+ if ((int) FindExecutable(filename, NULL, path) <= 32)
{
SetErrnoFromWinError (GetLastError ());
GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, "FindExecutable", fn);
sleep (1);
#endif
}
+ GNUNET_array_grow (lscp, ls, 0);
return ret;
}
if (lscp != NULL)
return GNUNET_OK;
#else
HANDLE h;
- DWORD c;
int ret;
h = OpenProcess (PROCESS_QUERY_INFORMATION, FALSE, proc);