branch update for HEAD-2003091401
[reactos.git] / lib / crtdll / process / spawnve.c
index 5e2c193..cc52fba 100644 (file)
@@ -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];