Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2015 17:13:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 200580] superfluous/unnecessary endhostent() does close(0) by accident. libc resolver dns fd close
Message-ID:  <bug-200580-8-1oR6nOYjCN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-200580-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-200580-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D200580

Jilles Tjoelker <jilles@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jilles@FreeBSD.org,
                   |                            |ume@FreeBSD.org

--- Comment #1 from Jilles Tjoelker <jilles@FreeBSD.org> ---
I think res_nclose() in lib/libc/resolv/res_init.c should skip its close lo=
gic
if ((statp->options & RES_INIT) =3D=3D 0).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200580-8-1oR6nOYjCN>