msvcrt: execl fix when no args are given (reported by Louis Lenders).
This commit is contained in:
parent
361ea6e4dc
commit
262cf1547e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue