CVSROOT:        /cvs
Module name:    src
Changes by:     flor...@cvs.openbsd.org 2024/08/20 23:53:10

Modified files:
        lib/libc/asr   : getaddrinfo_async.c 

Log message:
Make sure ai_canonname is set when AI_CANONNAME was requested.

We document, and posix requires, to return a NUL-terminated string on
a successful  call to getaddrinfo(3) when AI_CANONNAME was set.

If the canonical name cannot be determined, return the node name as
suggested by posix.

OK guenther

Reply via email to