Commit 173bba69 authored by Claes Sjofors's avatar Claes Sjofors

rt_ini process start, bugfix in process arguments

parent c52c3a3d
......@@ -77,6 +77,8 @@ co_StrToArgv (
if (*arg == '"') {
*arg = '\0';
arg++;
if ( *arg == '\0')
break;
in_quote = 0;
last_was_white = 1;
}
......@@ -95,7 +97,7 @@ co_StrToArgv (
}
}
argv[i-1] = NULL;
argv[i] = NULL;
argv[0] = file;
return argv;
......
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