- Use getaddrinfo to replace gethostbyname.
- Use getnameinfo with NI_NAMEREQD flag to replace gethostbyaddr.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Warnings Severity Location Code Message Warning usr.bin/systat/netstat.c: CHMOD1 Invalid Executable - Unit
No Test Coverage - Build Status
Buildable 58338 Build 55226: arc lint + arc unit
Event Timeline
Comment Actions
Update according Hiroki advise in D45594
- Use "result" instead of "status" name to store the value of getaddrinfo() function. I don't use "error" because it has already error() function in the code.
- Use compound literals instead of "hints" variable.