Files
libgtop/sysdeps/common
David King 5e97014fea Avoid some deprecated networking functions
rpminspect trips up on some old networking functions in libgtop, which
are mentioned as deprecated in the Linux man pages.

inet_ntoa() only works on IPv4 addresses, whereas the newer inet_ntop()
works on both IPv4 and IPv6 addresses, so use inet_ntop() instead.
Similarly, use getaddrinfo() rather than gethostbyname(), and avoid
inet_addr() entirely.

https://bugzilla.redhat.com/show_bug.cgi?id=2050712
2023-01-09 09:50:10 +00:00
..
2007-05-19 19:43:31 +00:00
2014-08-20 04:44:27 +03:00
2014-08-20 04:44:27 +03:00
2005-12-12 09:38:15 +00:00
2004-03-09 23:29:48 +00:00

The files fsusage.c and fsusage.h have been stolen from the GNU
Coreutils package (version 5.0) and are the actual implementation of
the fsusage function.

The only changes that have been made to these files is that some code
for SVR2 has been ripped out since it depended on some more code (SVR3
was released in 1986 and introduced shared libraries), and the
functions have been prefixed with glibtop_private to avoid name
clashes with user code.