<p>Yes, this solution sounds better. But maybe we should choose a better name for that function than close_stderr because close is not exactly the same as redirecting to dev/null. E.g. stdout2null() but you can come up with even better name. So if you want to modify your patch according the suggested change then please do that. Thanks.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/rpm-software-management/rpm/pull/44#issuecomment-191692171">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ANb805hCogIpJ6AnYxP7-NM_6KsZUmRKks5pprNHgaJpZM4HFPFo.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/rpm-software-management/rpm/pull/44#issuecomment-191692171"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>