mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 12:39:38 +01:00 
			
		
		
		
	* fixed dynamicarray.seek() with pos equals multiple of $10000
This commit is contained in:
		
							parent
							
								
									3c5793d8c6
								
							
						
					
					
						commit
						351fdd970e
					
				@ -1585,7 +1585,7 @@ end;
 | 
			
		||||
 | 
			
		||||
    procedure tdynamicarray.seek(i:integer);
 | 
			
		||||
      begin
 | 
			
		||||
        if (i<FPosnblock^.pos) or (i>FPosnblock^.pos+blocksize) then
 | 
			
		||||
        if (i<FPosnblock^.pos) or (i>=FPosnblock^.pos+blocksize) then
 | 
			
		||||
         begin
 | 
			
		||||
           { set FPosnblock correct if the size is bigger then
 | 
			
		||||
             the current block }
 | 
			
		||||
@ -1738,7 +1738,10 @@ end;
 | 
			
		||||
end.
 | 
			
		||||
{
 | 
			
		||||
  $Log$
 | 
			
		||||
  Revision 1.6  2001-04-13 01:22:06  peter
 | 
			
		||||
  Revision 1.7  2001-05-04 19:50:04  peter
 | 
			
		||||
    * fixed dynamicarray.seek() with pos equals multiple of $10000
 | 
			
		||||
 | 
			
		||||
  Revision 1.6  2001/04/13 01:22:06  peter
 | 
			
		||||
    * symtable change to classes
 | 
			
		||||
    * range check generation and errors fixed, make cycle DEBUG=1 works
 | 
			
		||||
    * memory leaks fixed
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user