freeadrinfo(NULL) should be freeaddrinfo(NULL) Also looks like there is/are word(s) missing after: "The behavior of freeadrinfo(NULL) is left unspecified by both " The 2 whitespaces there look odd. This bug is since FreeBSD-11.2-RELEASE.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=acc3f0689af8718d03fa12bbdd512742da02dbbc commit acc3f0689af8718d03fa12bbdd512742da02dbbc Author: Maxim Konovalov <maxim@FreeBSD.org> AuthorDate: 2022-09-14 05:08:45 +0000 Commit: Maxim Konovalov <maxim@FreeBSD.org> CommitDate: 2022-09-14 05:08:45 +0000 getaddrinfo(3): A typo fixed PR: 266403 lib/libc/net/getaddrinfo.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Hi, Thanks for the report. I've just fixed the freeadrinfo typo. However, I don't see any issues with the second part of your report. Specifically, I see a complete sentence in my copy of the getaddrinfo.3 man page: The behavior of freeaddrinfo(NULL) is left unspecified by both Version 4 of the Single UNIX Specification ("SUSv4") and RFC 3493. %%% Maxim
Hi Maxim, somehow the sentence you posted doesn't make it to the rendered html/pdf/ascii version at freebsds webpage: https://www.freebsd.org/cgi/man.cgi?query=getaddrinfo&apropos=0&sektion=3&manpath=FreeBSD+13.1-RELEASE+and+Ports&arch=default&format=html where it reads like: The behavior of freeadrinfo(NULL) is left unspecified by both and RFC 3493. Kind regards, Michael
Hi Michael, Yes, I see, thanks. It looks like the mandoc -> html convertor has an issue with parsing specific mandoc tags. Let's keep this ticket open until someone with more knowledge in this area help us with a possible fix. I also moved this ticket into the "website" category. Cheers, Maxim
Created attachment 236708 [details] Screenshot (In reply to Michael Ortmann from comment #0) > "The behavior of freeadrinfo(NULL) is left unspecified by both " > > The 2 whitespaces there look odd. (In reply to Maxim Konovalov from comment #4) Screenshot attached. <https://www.freebsd.org/cgi/man.cgi?query=getaddrinfo&sektion=3&manpath=FreeBSD#IMPLEMENTATION_NOTES>
I think this issue is now fixed. https://man.freebsd.org/cgi/man.cgi?query=getaddrinfo&sektion=3&manpath=FreeBSD#IMPLEMENTATION_NOTES
Indeed. Closing this one for now. Thanks.