X-Git-Url: http://git.jankratochvil.net/?p=reactos.git;a=blobdiff_plain;f=lib%2Fcrtdll%2Fprocess%2Fspawnve.c;fp=lib%2Fcrtdll%2Fprocess%2Fspawnve.c;h=cc52fba26529d1c388f0c10835b4a67a04423a06;hp=5e2c193310db06a4a7dcc9f8747246865020b7d5;hb=7c0cf90e3b750f1f0dc83b2eec9e5c68a512c30f;hpb=ee8b63255465d8c28be3e7bd11628015708fc1ab diff --git a/lib/crtdll/process/spawnve.c b/lib/crtdll/process/spawnve.c index 5e2c193..cc52fba 100644 --- a/lib/crtdll/process/spawnve.c +++ b/lib/crtdll/process/spawnve.c @@ -36,9 +36,9 @@ direct_exec_tail(const char* program, const char* args, char* const envp[], PROCESS_INFORMATION* ProcessInformation) { - static STARTUPINFO StartupInfo; + static STARTUPINFOA StartupInfo; - StartupInfo.cb = sizeof(STARTUPINFO); + StartupInfo.cb = sizeof(StartupInfo); StartupInfo.lpReserved= NULL; StartupInfo.dwFlags = 0; StartupInfo.wShowWindow = SW_SHOWDEFAULT; @@ -145,6 +145,9 @@ static struct { /*-------------------------------------------------*/ +/* + * @implemented + */ int _spawnve(int mode, const char* path, char* const argv[], char* const envp[]) { /* This is the one that does the work! */ @@ -279,6 +282,9 @@ const char* find_exec(char* path, char* rpath) return rpath; } +/* + * @implemented + */ int _spawnvpe(int nMode, const char* szPath, char* const* szaArgv, char* const* szaEnv) { char rpath[FILENAME_MAX];