Eric Pouech : msvcrt: execl fix when no args are given ( reported by Louis Lenders).

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jan 2 14:17:31 CST 2007


Module: wine
Branch: master
Commit: 262cf1547e1eb11176665354b4579b3e6d212063
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=262cf1547e1eb11176665354b4579b3e6d212063

Author: Eric Pouech <eric.pouech at wanadoo.fr>
Date:   Tue Jan  2 14:31:27 2007 +0100

msvcrt: execl fix when no args are given (reported by Louis Lenders).

---

 dlls/msvcrt/process.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msvcrt/process.c b/dlls/msvcrt/process.c
index ac44065..b6497b4 100644
--- a/dlls/msvcrt/process.c
+++ b/dlls/msvcrt/process.c
@@ -147,7 +147,7 @@ static char* msvcrt_valisttos(const char
 # endif
 #endif
 
-  if (!arg0 && !delim)
+  if (!arg0)
   {
       /* Return NULL for an empty environment list */
       return NULL;




More information about the wine-cvs mailing list