* fixed hang in dos.exec_ansistring when passing a long command line via the

go32v2 proxy method. This fixes go32v2 snapshot building, among other things.

git-svn-id: trunk@28798 -
This commit is contained in:
nickysn 2014-10-11 20:56:36 +00:00
parent 1815be1837
commit aa44dcbd7f

View File

@ -284,7 +284,7 @@ var
current_arg:='';
proxy_argc:=0;
end_of_arg:=false;
while TB + current_dos_buffer_pos mod 16 <> 0 do
while (TB + current_dos_buffer_pos) mod 16 <> 0 do
inc(current_dos_buffer_pos);
la_proxy_seg:=(TB + current_dos_buffer_pos) shr 4;
{ Also copy parameter 0 }