[Bug 200580] superfluous/unnecessary endhostent() does close(0) by accident. libc resolver dns fd close

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 28 17:13:30 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200580

Jilles Tjoelker <jilles at FreeBSD.org> changed:

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

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

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


More information about the freebsd-bugs mailing list