[PATCH] [Msvcrt]: execl fix when no args are given (reported by Louis Lenders)

Eric Pouech eric.pouech at wanadoo.fr
Tue Jan 2 07:31:27 CST 2007




A+
---

 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 @@ # else
 # endif
 #endif
 
-  if (!arg0 && !delim)
+  if (!arg0)
   {
       /* Return NULL for an empty environment list */
       return NULL;



More information about the wine-patches mailing list