Date: Tue, 13 Jan 2004 14:10:17 -0800 (PST) From: Jonathan Lennox <lennox@cs.columbia.edu> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/58687: gethostbyname leaks kqueue file descriptors with pthreads and static linking Message-ID: <200401132210.i0DMAH33038938@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR bin/58687; it has been noted by GNATS.
From: Jonathan Lennox <lennox@cs.columbia.edu>
To: freebsd-gnats-submit@FreeBSD.org
Cc:
Subject: Re: bin/58687: gethostbyname leaks kqueue file descriptors with pthreads and static linking
Date: Tue, 13 Jan 2004 17:09:40 -0500
Update: this problem is still present in FreeBSD 5.2-RELEASE.
I.e., compiling the code above with
gcc -Wall -g -O2 -pg kqueue.c -o kqueue -pthread
or
gcc -Wall -g -O2 -static kqueue.c -o kqueue -pthread
causes the kqueue executable to hold 50 KQUEUE file descriptors.
The patch still applies cleanly.
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401132210.i0DMAH33038938>
