[fpc-pascal] Bugs in StrToHostAddr6 in sockets unit

Noel Duffy noelduffy at xtra.co.nz
Thu May 7 11:26:23 CEST 2020


On 6/05/20 11:40 pm, Karoly Balogh (Charlie/SGR) wrote:
> 
> As much as we use the compiler and associated libraries ourselves, we
> can't cover every use case, or find every bug. A lot of packages are there
> for completeness, or because someone submitted it, or for compatibility
> with Delphi, not because we necessarily use it ourselves. So if you find
> weak spots like this where you feel you can do better, do it and submit
> it!

Sure, I do understand this, but it can be difficult sometimes  to tell 
whether a unit is actively used or whether it's a relic of some long 
abandoned idea, like the libc unit for instance. Added to that, I am 
aware that rewriting functions in old units risks breaking things, even 
if the fix is correct, and so I feel it's prudent (and, hopefully, 
polite) to ask before writing the code.




More information about the fpc-pascal mailing list