svn commit: r188300 - head/lib/libc_r/uthread

Daniel Eischen deischen at FreeBSD.org
Sat Feb 7 22:44:59 PST 2009


Author: deischen
Date: Sun Feb  8 06:44:58 2009
New Revision: 188300
URL: http://svn.freebsd.org/changeset/base/188300

Log:
  Fix leak of kqueue() file descriptors when linked with static
  libc_r.
  
  PR:		58687
  Submitted by:	Jonathon Lennox <lennox at cs dot columbia dot edu>

Modified:
  head/lib/libc_r/uthread/uthread_init.c

Modified: head/lib/libc_r/uthread/uthread_init.c
==============================================================================
--- head/lib/libc_r/uthread/uthread_init.c	Sun Feb  8 03:03:55 2009	(r188299)
+++ head/lib/libc_r/uthread/uthread_init.c	Sun Feb  8 06:44:58 2009	(r188300)
@@ -95,6 +95,7 @@ static void *references[] = {
 	&_getsockopt,
 	&_ioctl,
 	&_kevent,
+	&_kqueue,
 	&_listen,
 	&_nanosleep,
 	&_open,


More information about the svn-src-all mailing list