Swatantra-66 commented on PR #20691:
URL: https://github.com/apache/nuttx/pull/20691#issuecomment-6383933250
Fixed. Refactored `lib_getaddrinfo.c` to
Inline addrinfo node construction into `add_transports()`.
Guard unsupported socket families with `#ifdef` to eliminate dead branch
logic on IPv4-only targets.
Unify and streamline the `hostname == NULL` passive/loopback path.
This reduces the `.text` size of `lib_getaddrinfo` by 124 bytes under ARM
`-Os`, easily resolving the 28-byte `uflash` overflow.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]