[fpc-pascal] Bug 37080 -- StrToHostAddr accepts all Pascal number notations

Michael Van Canneyt michael at freepascal.org
Fri May 15 13:25:19 CEST 2020



On Fri, 15 May 2020, Noel Duffy via fpc-pascal wrote:

> That must be a new record in bug fix speed. You fixed that within ten 
> minutes of my message to the list!
>
> I forgot to mention in my message, but did mention in the bug report, 
> that leading zeroes are also allowed, so you can parse:
>
> 0000000001.1.1.1

Personally I don't think this is a problem (mathematically, you can add as
many zeroes as you like), but I can imagine some do,  so I fixed it.

Rev. 45368.

Michael.


More information about the fpc-pascal mailing list