[fpc-pascal] Bugs in StrToHostAddr6 in sockets unit
Noel Duffy
noelduffy at xtra.co.nz
Thu May 7 11:13:17 CEST 2020
On 6/05/20 11:21 pm, Christo Crause via fpc-pascal wrote:
> On Wed, May 6, 2020 at 12:19 PM Noel Duffy via fpc-pascal
> <fpc-pascal at lists.freepascal.org
> <mailto:fpc-pascal at lists.freepascal.org>>
> wrote:
>
> So I guess the question is, is it worth the effort to make
> StrToHostAddr6 RFC4291 compliant? Is that something the FPC team
would
> want, or do they just not use the sockets unit?
>
>
> There have been 2 changes applied to sockets.inc in the last two
> months so it is not neglected. I am convinced a patch to ensure
> compliance will be considered for inclusion, especially if you
> provide test cases demonstrating shortcomings in the current
> implementation.
Great. My worry was that the sockets unit might fall into the same
category as the libc one, available but deprecated and not recommended
for use. Plus, when rewriting something that's been unchanged for years,
there's a risk of breaking programs that depend on the bug.
More information about the fpc-pascal
mailing list