[fpc-devel] Re: Cleaning of Dos unit

borsa77 at libero.it borsa77 at libero.it
Wed Mar 14 00:45:49 CET 2007


On 11 Mar 07, at 22:09, Tomas Hajny wrote: 

>I applied your patch in trunk, hoping that you 
>hadn't overlooked something. ;-) In general, I'm 
>not sure if this kind of saving 1 byte 
>dynamically allocated on stack is really worth 
>the risk of possibly breaking something, because 
>the 1 byte might have been still needed in some 
>special case after all (admittedly, I couldn't 
>find why this should happen, which is the reason 
>why I applied the patch)... 

It makes possible a strict check in the space of 
allocation, let's the string be 
#3abc#10#13 
when there's no prefix (as in the environement 
strings) it needs an exceeding of two characters 
nor three. The purpose of the modification is quite 
purely understanding of the code. 


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





More information about the fpc-devel mailing list