<p>We only actually used gethostbyname() for canonicalizing buildhost,<br>
convert that to use getaddrinfo() instead: this is not a particularly<br>
useful or interesting field so just grab whatever result comes first.</p>
<p>The other "use" was to initialize name services, but as we don't need<br>
or use hostnames for any operation, we can just as well drop it. User<br>
and group names are what we care about.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/rpm-software-management/rpm/pull/1428'>https://github.com/rpm-software-management/rpm/pull/1428</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Eliminate use of obsolete gethostbyname() function</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/1428/files#diff-68d6f5a746e3edc1fcebdeb350d57b7ce34e37178bcdfd3a9a4dd8a8a1d6ae53">build/build.c</a>
    (20)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/1428/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810">configure.ac</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/1428/files#diff-4d80fa3450046a2a6656dcf18407341023e76f5386bc1358559738d6c74cfcbe">lib/rpmug.c</a>
    (1)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/rpm-software-management/rpm/pull/1428.patch'>https://github.com/rpm-software-management/rpm/pull/1428.patch</a></li>
  <li><a href='https://github.com/rpm-software-management/rpm/pull/1428.diff'>https://github.com/rpm-software-management/rpm/pull/1428.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/pull/1428">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU67UKC22FV5UFY7NSTSO6SIFANCNFSM4TPAVGAA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ADLPZUZOUKILE2JQQQRC4PLSO6SIFA5CNFSM4TPAVGAKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LAJMZ3Q.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/pull/1428",
"url": "https://github.com/rpm-software-management/rpm/pull/1428",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>