This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Avoid res_nsend fd leaks


Jakub Jelinek <jakub@redhat.com> writes:

> 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
> 
> 	* resolv/resolv.h (struct __res_state): Add nsinit field.
> 	* resolv/res_send.c (res_nsend): Use it instead of nscount.
> 	* resolv/res_init.c (__res_vinit): Initialize it.
> 	(res_nclose): Clear it instead of nscount.

I've applied the patch now.  It looks correct AFAICS.  Thanks,

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]