Date: Wed, 29 Oct 2003 12:00:33 -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: <200310292000.h9TK0XWq063093@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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, lennox@cs.columbia.edu Cc: Subject: Re: bin/58687: gethostbyname leaks kqueue file descriptors with pthreads and static linking Date: Wed, 29 Oct 2003 14:58:51 -0500 Apologies, the previous patch was incomplete. This is the correct patch, which has been built, installed, and confirmed to solve the problem. --- lib/libc_r/uthread/uthread_init.c.orig Wed Oct 29 11:00:53 2003 +++ lib/libc_r/uthread/uthread_init.c Wed Oct 29 11:01:21 2003 @@ -99,6 +99,7 @@ &_getsockopt, &_ioctl, &_kevent, + &_kqueue, &_listen, &_nanosleep, &_open, --- lib/libc/include/namespace.h.orig Wed Oct 29 14:13:09 2003 +++ lib/libc/include/namespace.h Wed Oct 29 14:13:31 2003 @@ -77,6 +77,7 @@ #define getsockopt _getsockopt #define ioctl _ioctl /* #define kevent _kevent */ +#define kqueue _kqueue #define listen _listen #define nanosleep _nanosleep #define open _open --- lib/libc/include/un-namespace.h.orig Wed Oct 29 14:13:13 2003 +++ lib/libc/include/un-namespace.h Wed Oct 29 14:13:55 2003 @@ -58,6 +58,7 @@ #undef getsockopt #undef ioctl #undef kevent +#undef kqueue #undef listen #undef nanosleep #undef open
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310292000.h9TK0XWq063093>
