cvs commit: src/lib/libc_r/uthread Makefile.inc uthread_kqueue.c

Mark Peek mp at FreeBSD.org
Fri Jul 25 10:02:35 PDT 2003


mp          2003/07/25 10:02:34 PDT

  FreeBSD src repository

  Modified files:
    lib/libc_r/uthread   Makefile.inc 
  Added files:
    lib/libc_r/uthread   uthread_kqueue.c 
  Log:
  Add wrapper for kqueue() to keep track of the allocated fd and allow it to
  be closed. This fixes a file descriptor leak when closing a kqueue() fd.
  
  Reviewed by:    deischen
  MFC after:      1 week
  
  Revision  Changes    Path
  1.37      +1 -0      src/lib/libc_r/uthread/Makefile.inc
  1.1       +53 -0     src/lib/libc_r/uthread/uthread_kqueue.c (new)


More information about the cvs-all mailing list