mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 11:24:16 +01:00 
			
		
		
		
	* also return 0 when reading an unsigned integer at the end of a file
git-svn-id: trunk@2156 -
This commit is contained in:
		
							parent
							
								
									58381ff7b6
								
							
						
					
					
						commit
						a67f42a3e7
					
				@ -1082,9 +1082,14 @@ Begin
 | 
			
		||||
      exit;
 | 
			
		||||
     ReadNumeric(f,hs);
 | 
			
		||||
   end;
 | 
			
		||||
   if (hs = '') then
 | 
			
		||||
    u := 0
 | 
			
		||||
   else
 | 
			
		||||
    begin
 | 
			
		||||
      val(hs,u,code);
 | 
			
		||||
      If code<>0 Then
 | 
			
		||||
        InOutRes:=106;
 | 
			
		||||
    end;
 | 
			
		||||
End;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user