| History log of /src/usr.bin/getnameinfo/getnameinfo.c |
| Revision | | Date | Author | Comments |
| 1.8 |
| 06-Feb-2025 |
christos | PR/59047: Taylor R Campbell: Add AF_LINK, AF_APPLETALK, AF_LOCAL
|
| 1.7 |
| 05-Feb-2025 |
riastradh | getnameinfo(1): <IP-address> argument is optional.
With the -S option, it is not required. Note this in the usage text and the man page.
|
| 1.6 |
| 05-Feb-2025 |
riastradh | getnameinfo(1): Fix crash on, e.g., `getnameinfo -4 -S -p 25'.
If an address family is specified, but no address is given, and we're only printing the service name anyway, just use the `any' address.
|
| 1.5 |
| 05-Feb-2025 |
riastradh | getnameinfo(1): Test fflush+ferror, not printf failure.
printf is unlikely to flush after a short output, so testing it for failure doesn't help in that case -- but if printf does flush and the flush fails, the failure will be persistent in ferror until we test it. So the old way might have failed to catch some output failures, but the new way catches everything the old way caught and more.
|
| 1.4 |
| 05-Feb-2025 |
riastradh | getnameinfo(1): Sprinkle KNF and minor style tweaks.
No functional change intended.
|
| 1.3 |
| 01-Feb-2025 |
christos | better types.
|
| 1.2 |
| 27-Jan-2025 |
wiz | Sort options in usage and descriptions.
|
| 1.1 |
| 27-Jan-2025 |
christos | PR/57953: Attaullah Ansari: Add getnameinfo program
|