From 676164cc397cf5e7ec18d221d7a1441266916d05 Mon Sep 17 00:00:00 2001 From: Kirill Smelkov Date: Fri, 14 Nov 2003 03:29:51 +0000 Subject: [PATCH] Added _execle/_execlpe & _spawnle/_spawnlpe stubs. --- dlls/msvcrt/msvcrt.spec | 8 ++++---- dlls/msvcrt/process.c | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 4 deletions(-) diff --git a/dlls/msvcrt/msvcrt.spec b/dlls/msvcrt/msvcrt.spec index e12201e08ac..c1b7644d13a 100644 --- a/dlls/msvcrt/msvcrt.spec +++ b/dlls/msvcrt/msvcrt.spec @@ -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) diff --git a/dlls/msvcrt/process.c b/dlls/msvcrt/process.c index c343c7dd786..1f7e4a7334c 100644 --- a/dlls/msvcrt/process.c +++ b/dlls/msvcrt/process.c @@ -245,6 +245,15 @@ int _execl(const char* name, const char* arg0, ...) return ret; } +/********************************************************************* + * _execle (MSVCRT.@) + */ +int _execle(const char* name, const char* arg0, ...) +{ + FIXME("stub\n"); + return -1; +} + /********************************************************************* * _execlp (MSVCRT.@) * @@ -270,6 +279,15 @@ int _execlp(const char* name, const char* arg0, ...) return ret; } +/********************************************************************* + * _execlpe (MSVCRT.@) + */ +int _execlpe(const char* name, const char* arg0, ...) +{ + FIXME("stub\n"); + return -1; +} + /********************************************************************* * _execv (MSVCRT.@) * @@ -340,6 +358,16 @@ int _spawnl(int flags, const char* name, const char* arg0, ...) return ret; } +/********************************************************************* + * _spawnle (MSVCRT.@) + */ +int _spawnle(int flags, const char* name, const char* arg0, ...) +{ + FIXME("stub\n"); + return -1; +} + + /********************************************************************* * _spawnlp (MSVCRT.@) * @@ -365,6 +393,15 @@ int _spawnlp(int flags, const char* name, const char* arg0, ...) return ret; } +/********************************************************************* + * _spawnlpe (MSVCRT.@) + */ +int _spawnlpe(int flags, const char* name, const char* arg0, ...) +{ + FIXME("stub\n"); + return -1; +} + /********************************************************************* * _spawnve (MSVCRT.@) *