msvcrt exec stubs

Kirill Smelkov kirr at landau.phys.spbu.ru
Mon Nov 10 12:03:46 CST 2003


Hello,

	Kirill Smelkov <kirr at landau.phys.spbu.ru>
	added _execle/_execlpe & _spawnle/_spawnlpe stubs.

Index: dlls/msvcrt/msvcrt.spec
===================================================================
RCS file: /home/wine/wine/dlls/msvcrt/msvcrt.spec,v
retrieving revision 1.80
diff -u -r1.80 msvcrt.spec
--- dlls/msvcrt/msvcrt.spec	23 Sep 2003 22:50:30 -0000	1.80
+++ dlls/msvcrt/msvcrt.spec	10 Nov 2003 17:46:09 -0000
@@ -206,9 +206,9 @@
 @ cdecl _except_handler2(ptr ptr ptr ptr)
 @ cdecl _except_handler3(ptr ptr ptr ptr)
 @ varargs _execl(str str)
-@ stub _execle #(str str) varargs
+@ varargs _execle(str str)
 @ varargs _execlp(str str)
-@ stub _execlpe #(str str) varargs
+@ varargs _execlpe(str str)
 @ cdecl _execv(str str)
 @ cdecl _execve(str str str)
 @ cdecl _execvp(str str)
@@ -437,9 +437,9 @@
 @ varargs _snwprintf(wstr long wstr) ntdll._snwprintf
 @ varargs _sopen(str long long) MSVCRT__sopen
 @ varargs _spawnl(long str str)
-@ stub _spawnle #(long str str) varargs
+@ varargs _spawnle(long str str)
 @ varargs _spawnlp(long str str)
-@ stub _spawnlpe #(long str str) varargs
+@ varargs _spawnlpe(long str str)
 @ cdecl _spawnv(long str ptr)
 @ cdecl _spawnve(long str ptr ptr)
 @ cdecl _spawnvp(long str ptr)
Index: dlls/msvcrt/process.c
===================================================================
RCS file: /home/wine/wine/dlls/msvcrt/process.c,v
retrieving revision 1.20
diff -u -r1.20 process.c
--- dlls/msvcrt/process.c	21 Oct 2003 23:49:36 -0000	1.20
+++ dlls/msvcrt/process.c	10 Nov 2003 17:46:10 -0000
@@ -246,6 +246,15 @@
 }
 
 /*********************************************************************
+ *		_execle (MSVCRT.@)
+ */
+int _execle(const char* name, const char* arg0, ...)
+{
+    FIXME("stub\n");
+    return -1;
+}
+
+/*********************************************************************
  *		_execlp (MSVCRT.@)
  *
  * Like on Windows, this function does not handle arguments with spaces
@@ -271,6 +280,15 @@
 }
 
 /*********************************************************************
+ *		_execlpe (MSVCRT.@)
+ */
+int _execlpe(const char* name, const char* arg0, ...)
+{
+    FIXME("stub\n");
+    return -1;
+}
+
+/*********************************************************************
  *		_execv (MSVCRT.@)
  *
  * Like on Windows, this function does not handle arguments with spaces
@@ -341,6 +359,16 @@
 }
 
 /*********************************************************************
+ *		_spawnle (MSVCRT.@)
+ */
+int _spawnle(int flags, const char* name, const char* arg0, ...)
+{
+    FIXME("stub\n");
+    return -1;
+}
+
+
+/*********************************************************************
  *		_spawnlp (MSVCRT.@)
  *
  * Like on Windows, this function does not handle arguments with spaces
@@ -363,6 +391,15 @@
   MSVCRT_free(args);
 
   return ret;
+}
+
+/*********************************************************************
+ *		_spawnlpe (MSVCRT.@)
+ */
+int _spawnlpe(int flags, const char* name, const char* arg0, ...)
+{
+    FIXME("stub\n");
+    return -1;
 }
 
 /*********************************************************************






More information about the wine-patches mailing list