cvs commit: src/lib/libc_r/uthread uthread_close.c

Simon Schubert corecode at crater.dragonflybsd.org
Tue Aug 1 01:30:42 PDT 2006


corecode    2006/08/01 01:25:58 PDT

DragonFly src repository

  Modified files:
    lib/libc_r/uthread   uthread_close.c 
  Log:
  Don't prematurely check for non-active descriptors by looking up the
  entry in _thread_fd_table, as it might have not been populated before.
  _FD_LOCK already takes care of filtering out non-existing descriptors.
  
  Reported-by: Thomas E. Spanjaard
  
  Revision  Changes    Path
  1.3       +5 -5      src/lib/libc_r/uthread/uthread_close.c


http://www.dragonflybsd.org/cvsweb/src/lib/libc_r/uthread/uthread_close.c.diff?r1=1.2&r2=1.3&f=u





More information about the Commits mailing list