Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2006-12

About the last revision (5563) for Dos.pp (Go32v2)

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

Hi everybody, I am looking throught the new code in the paste_to_dos, it is possible substituting this chunck

if current_dos_buffer_pos+length(src)+3>transfer_buffer
+tb_size then
 RunError(217);
ls:=Length(src)-n;

with

ls:=Length(src)-n;
if current_dos_buffer_pos+ls+3>transfer_buffer+tb_size then
 RunError(217);

because the check of the dos_buffer with the +3 includes both the prefixed length and the postfixed termination characters. Moreover I want to claim my blame for the problems when the environment variables are used inside the IDE shell, I am sorry for that. I want also to give my thanks to Tomas for his patience, skill and punctual feedback of my patches. Regards, Marco Borsari.

------------------------------------------------------ Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom http://click.libero.it/infostrada23dic06

Reply by email