mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-07 23:06:11 +02:00
* 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:
parent
1815be1837
commit
aa44dcbd7f
@ -284,7 +284,7 @@ var
|
|||||||
current_arg:='';
|
current_arg:='';
|
||||||
proxy_argc:=0;
|
proxy_argc:=0;
|
||||||
end_of_arg:=false;
|
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);
|
inc(current_dos_buffer_pos);
|
||||||
la_proxy_seg:=(TB + current_dos_buffer_pos) shr 4;
|
la_proxy_seg:=(TB + current_dos_buffer_pos) shr 4;
|
||||||
{ Also copy parameter 0 }
|
{ Also copy parameter 0 }
|
||||||
|
Loading…
Reference in New Issue
Block a user