Commit 262cf154 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

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

parent 361ea6e4
......@@ -147,7 +147,7 @@ static char* msvcrt_valisttos(const char* arg0, va_list alist, char delim)
# endif
#endif
if (!arg0 && !delim)
if (!arg0)
{
/* Return NULL for an empty environment list */
return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment